FFTEngy:

Path: Common/Control

% Plot the energy in a signal. 
 Will annotate peaks if y is a 1-dimensional
 array. y may be entered by column or row, but the longest dimension
 will be assumed to be the variation by time.

--------------------------------------------------------------------------
   Form:
   [e, w] = FFTEngy( y, tSamp, aPeak, noLog )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   y             (:,n) Sequence
   tSamp         (1,1) Sampling period
   aPeak         (1,1) Anotate peaks about this fraction of max
   noLog         (1,1) If input will not use a log plot

   -------
   Outputs
   -------
   e                   Energy
   w                   Frequencies (rad/sec)        

--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D
Math: MathUtils/Odd

Back to the Common Module page