Community Profile

Contact

Top 1% contributor

29 downloads

1 month ago

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

accepted

0

Answered 3 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...

10376 views

Responded 6 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...

7164 views

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...

4081 views

Responded 4 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

3353 views

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

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

3266 views

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...

3243 views

Responded 5 years ago

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

2993 views

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

2843 views

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

2464 views

Responded 8 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, In the Selector block to select a fixed length of data you should use the "Starting index (dialog)" option. In the Index co...

2343 views

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

2335 views

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

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...

2323 views

Hi Mohamed, You cannot call a C s-function from MATLAB. If you have a model using this S-Function you can run that model using ...

2267 views

Responded 3 years ago

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

2250 views

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

2132 views

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

2122 views

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

2106 views

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

2055 views

* Assign row array weightKilo with the corresponding weight in kilograms. Use the following conversion: kg = lb / 2.2

Solve this!

5 months ago

Create a logical indexing array overweightBaggage with true in each location where the corresponding baggageWeight is greater th...

Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

Given a 3D matrix, A, find the largest value. E.g. >> A = 1:9; >> A=reshape(A,[3 1 3]); >> islargest(A) ans = 9

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries