Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: FFT and power spectral density block in Simulink
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Nima

Posts: 2
Registered: 11/9/12
FFT and power spectral density block in Simulink
Posted: Feb 5, 2013 5:53 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello

I'm trying to use either one of these blocks (FFT/FFT MAgnitude/periodogram) to get the power spectral density of a signal. When I export the output of any of these blocks to Matlab Workspace, I get a n*n matrix and when identical rows. Plotting each column gives a periodic thing which doesn't make sense since the signal is a periodic which three frequency components.
I need to find a way to export the data from FFT/PSD block to workspace and have both frequency and corresponding magnitude.

The other issue is that I need to perform this on separate segment of the signal. Meaning imagine tif the signal length is 30 seconds, I want to perform a PSD/FFT on each 5 second segment of the signal.
To conclude, my problems are two: first getting the PSD/FFT and then be available to chop the running signal on real time and get the FFT/PSD of each segment.

Thanks in advance



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.