Register to reply

Matlab-Plot Power Spectrum of time series

by pigasos54
Tags: matlabplot, power, series, spectrum, time
Share this thread:
Aug18-10, 09:43 AM
P: 1
Hi all,

and thank you for reading/responding to my thread.I have a problem which involves time series and its power spectra.

Some background:
I have an 10.000xN matrix(called matr) whose columns are individual time series with real data values and I want to plot their power spectra against frequency.These time series where generated by an iterative map which involved a sin function with omega=0.1. Plotting freq versus power I might be able to see if any harmonics are present.

Below are the steps I take in Matlab:

y=fft(matr) % get the fourier transform of the matrix
y=(abs(y)).^2 %this is the power spectra

Is the above right?

Also I'm puzzled as to what frequency range I should use.
seems right?

Any suggestions?
Thank you all
Phys.Org News Partner Science news on
Physical constant is constant even in strong gravitational fields
Montreal VR headset team turns to crowdfunding for Totem
Researchers study vital 'on/off switches' that control when bacteria turn deadly

Register to reply

Related Discussions
BER plot using matlab Math & Science Software 0
3D plot versus time in Matlab Math & Science Software 0
3D Plot in Matlab Programming & Computer Science 6
Computing the power spectrum via matlab Advanced Physics Homework 0
Matlab Plot Engineering, Comp Sci, & Technology Homework 1