HI, How can I plot Power Spectrum from a Time Series data?

I have 10000 Pressure data in 0.5 sec (i.e frequency =20000), I want to plot power spectrum in which x axis is f(Hz) and y axis be Amplitude.

 Accepted Answer

The power spectral density is the square of the absolute value of the Fourier transform of your data. See the documentation on fft (link) for details.
The Signal Processing Toolbox has other functions that will do what you want. See the documentation on Spectral Analysis (link) for details on them. There are links to the various functions in the documentation.

2 Comments

thank you very much. it is solved. and do you know how can I plot Poincare Section of the Phase Portrait?
My pleasure.
I have not done anything with chaos theory in decades. I found poincare.m (link) when I searched. It should provide some guidance.

Sign in to comment.

More Answers (0)

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!