FindPeaks:

Path: Common/Control

% Find peaks of the inputs by looking at slopes.

--------------------------------------------------------------------------
   Form:
   [xP, yP, kP, ind] = FindPeaks( x, y )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x             (1,:) X
   y             (n,:) Y

   -------
   Outputs
   -------
   xP            (n,:) values of x where y has peaks
   yP            (n,:) Peak values of y
   kP            (n,:) Maximum number of peaks for each y
   ind           (n,:) Indexes to peaks for each row

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

Children:

Common: General/DeBlankLT
Common: Graphics/NewFig
Common: Graphics/PltStyle
Common: Graphics/TitleS
Common: Graphics/XLabelS
Common: Graphics/YLabelS

Back to the Common Module page