<< >> Up Title Contents

smax

smax <ik>,<ifen> [,<fname>]

This command searchs for maxima within data set <ik>. The parameter <ifen> determines how many points (in each direction) around a possible maximum must have a lower value as the maximum itself. For smooth data use larger values, for rough data smaller values. If the parameter <fname> is given, the results are saved to the file <fname> rather than printed in the screen.

The results of the search are stored in the variable array res[i]:

   res[0]              : Number of stored values.
   res[i]              : Number of x point for i-th maximum (2d data)
   res[2i-1],res[2i]   : Number of x,y point for i-th maximum (3d data)

The actal values can be determined by e.g. x[ik,res[5]]. For more information, see variables entry.


<< >> Up Title Contents