MATLAB Answers

kawak

[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

Tags

Products

0 Answers

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today