Community Profile

Contact

Top 1% contributor

You can use the "Variable Fraction Delay" block from DSP System toolbox to implement this.

accepted

0

Answered 2 years ago

This means your LED block can take only scalar inputs while you are trying to send it a vector data. Unbuffer works on channels....

Hi, You can try using the "Zero-Order Hold" block in Simulink. You might need to check the "Buffer input" option in the scope i...

7884 views

Responded 4 years ago

62 downloads

7 years ago

It looks like you want all your (32761 vector) data into Simulink at the same time. It is easier to do this by loading the mat f...

5888 views

Responded 5 years ago

Hi Matt, Buffering is the usual way to create a frame of input data from scalars which then can be fed to FFT block. When you s...

Hi Rakshit, Can you post your code here? If possible can you replace webcam source in your code with either a video file reader...

3103 views

Responded 3 years ago

Hi Rakshit, The errors you are seeing can be ignored. How do you return your outputs from your MATLAB code? When you run your d...

Dear Henrik, You are fine as long as you understand the frame-based signal. Navan

2649 views

Hi Henrik, For a frame-based signal, within the frame, the samples are separated uniformly with a period equal to Frame period ...

Hi Bob, One way to do this is to use Embedded MATLAB Function block. You can write images using the following code inside the b...

2306 views

Hi, See this MATLAB Answer for your question. http://www.mathworks.com/matlabcentral/answers/9555-simulink-create-mask-with-ta...

2259 views

Hi Nina, The Simulink and MATLAB versions of the Lane departure warning system demos are independent and they do not use parame...

2152 views

Hi, Yes. They are co-ordinates of diagonal points. From the doc at http://www.mathworks.com/help/toolbox/simulink/slref/f23-7...

2110 views

Hi, Simplest way is to pass the output of the Mean block through a Delay block. The Delay block output will have your last outp...

1991 views

You seem to have done everything needed for debugging. Are you sure your mex function is called when you run the model? You can ...

1844 views

Hi Abhijit, Your "start" variable is likely from the result of an extrinsic function and its specifications are not known to Em...

1738 views

Hi Yan, There is a tag option which can be passed to addCustomMenuFcn method of Customization Manager. In the documentation sec...

1695 views

Responded 6 years ago

Hi Yan, Have you looked at the documentation at <http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/bqt2_on.html...

Hi KD, You might want to start with the Embedded MATLAB Function block in Simulink. http://www.mathworks.com/help/toolbox/simu...

1674 views

Hi Tan, The signal exported to MATLAB workspace normally contains the data from entire simulation run. Your 51x1 samples came f...

1651 views

See this thread http://www.mathworks.com/matlabcentral/newsreader/view_thread/29952 which mentions several ways for getting ha...

1628 views

gcf returns the handle to current figure. You need to select each of your Scopes and run those same commands. Navan

Hi, In the Selector block to select a fixed length of data you should use the "Starting index (dialog)" option. In the Index co...

1565 views

Hi Uma, Different signal types in Simulink are listed in the documentation page at http://www.mathworks.com/help/toolbox/simuli...

1552 views

It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

Solve this!

2 months ago

Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...

Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...

Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...

Load more