photo

Benjamin Wang


Last seen: 1년 초과 전 2011년부터 활동

Followers: 0   Following: 0

메시지

통계학

All
  • Thankful Level 1
  • Solver

배지 보기

Feeds

보기 기준

질문


How to properly log frame based signals in Simulink?
I'm trying to log a frame based signal in Simulink. <</matlabcentral/answers/uploaded_files/97892/diagram.png>> But here i...

거의 7년 전 | 답변 수: 0 | 0

0

답변

질문


How can I visualize data other than the first channel in Audio Test Bench?
I can visualize the input/output channel 1 with Time-Scope/Spectrum-Analyzer in Audio Test Bench. But I cannot find a way to sho...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Why Root-Level Inport didn't inherit the sample time?
Hi guys, I want to build a fixed-step discrete time model, which will be referenced later in a larger model. To simplify the ...

7년 초과 전 | 답변 수: 0 | 0

0

답변

문제를 풀었습니다


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

대략 8년 전

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

대략 8년 전

문제를 풀었습니다


Find matching parenthesis
One of the most indispensable things about a great text editor for programming is the ability to quickly jump between matching p...

대략 8년 전

문제를 풀었습니다


Is my wife right?
Regardless of input, output the string 'yes'.

9년 초과 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

거의 10년 전

문제를 풀었습니다


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

거의 10년 전

문제를 풀었습니다


Remove the positive integers.
Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

거의 10년 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

거의 10년 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

거의 10년 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

거의 10년 전

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

거의 10년 전

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

거의 10년 전

질문


Using referenced model arguments in non-tunable parameter fields.
Hi, guys I want to build a model used as referenced model in other Simulink models. Then, I encountered errors about using re...

11년 초과 전 | 답변 수: 0 | 1

0

답변

질문


Using merge block with bus signal inputs.
Hi, guys I am really confused with the 'If/else -> Action -> Merge' pattern in Simulink, especially when working with Bus Sig...

대략 12년 전 | 답변 수: 1 | 0

1

답변

질문


Dynamically sized IO ports in simulink
Hi, I am working on a C-MEX s-function, which has 2 inputs and 1 output. All of the i/o ports are dynamically sized. The output...

13년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to get the index of the first non-zero element in an 1-D array in SIMULINK
Hi, guys I want to find the index of the first non-zero element in a 1-D array in simulink, just like the way that 'find' comma...

13년 초과 전 | 답변 수: 1 | 0

1

답변