Calculate area under FFT graph in Matlab

Posted by lytheone on Stack Overflow See other posts from Stack Overflow or by lytheone
Published on 2010-04-14T23:45:15Z Indexed on 2010/04/14 23:53 UTC
Read the original article Hit count: 229

Filed under:
|
|
|

Hiya,

Currently I did a FFT of a set of data which gives me a plot with frequency at x axis and amplitude at y axis. I would like to calculate out the area under graph to give me energy.

I am not sure how to determinate the area because i am without the equation and also i only want a certain area of the plot rather than whole area under the plot. Is there a way i can do it?

© Stack Overflow or respective owner

Related posts about matlab

Related posts about plot