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

New to MATLAB?

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

Asked by kawak

kawak (view profile)

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

kawak (view profile)

on 28 Dec 2012

I have updated the links

Thanks

Ben

Walter Roberson

Walter Roberson (view profile)

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

kawak (view profile)

on 29 Dec 2012

Hi Walter,

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

Thanks

Ben

kawak

kawak (view profile)

Tags

Products

0 Answers

Contact us