Computes the energy spectrum of the signal
[SP,F]=frpowerspec(X) [SP,F]=frpowerspec(X,N) [SP,F]=frpowerspec(X,N,H) [SP,F]=frpowerspec(...,'plot')
signal (in time) to be analyzed.
number of frequency bins (default : length(X)).
analysis window, (default : Rect(length(X)).
if one input parameter is 'plot', the window will be plotted
energy spectrum of the signal
Normalized frequency vector
you can redistribute it and/or modify
either version 2 of the License, or
without even the implied warranty of
if not, write to the Free Software