Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

[Simulink] Help required with Simulink 's blocks FFT and PSD

Asked by kawak on 28 Dec 2012

Hello,

I am quite new to Simulink and I am trying to obtain a PSD plot of my measurements.

Please see below my Simulink Model.

My measurements were taken from a force sensor and is made of 8192 data point with a measurement period of 3.2sec.

I have the following error:

Do you know how I can solve this? and if possible to explain me what I did wrong.

Thank you

Ben

Simulink Model: http://imageshack.us/a/img87/798/simulinkmodel.jpg

Error message: http://imageshack.us/a/img545/162/simulinkerror.jpg

4 Comments

kawak on 28 Dec 2012

I have updated the links

Thanks

Ben

Walter Roberson on 28 Dec 2012

Is the psd code your own function block? If so we are probably going to need to see the source.

kawak on 29 Dec 2012

Hi Walter,

No, I found the PSD block in Simulink Extras library under Additional Sinks.

Thanks

Ben

kawak

Tags

Products

0 Answers

Contact us