tags:

views:

158

answers:

1

I have data for the y axis of a graph and I need to perform FFT on the data to receive a graph.
I don't have much experience with Matlab, any help will be very appreciated.

+4  A: 

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/fft.shtml

http://www.ele.uri.edu/~hansenj/projects/ele436/fft.pdf

ufukgun
Thanks, I'll research into the matter.
Inbal
The matlab example above is great because: it shows how to make the x-axis vector for frequency to plot against the spectrum data, takes in to account plotting the magnitude of the data, cuts off the complex conjugates so you don't get a mirrored image, and will calculate the next power of 2 to use to make the calculation more efficient.It might also be helpful to check out pwelch for a power spectral density
Fuzz

related questions