FindPeaks:

-------------------------------------------------------------------------------
   Find peaks 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: Graphics/NewFig
Common: Graphics/TitleS
Common: Graphics/XLabelS
Common: Graphics/YLabelS