Skip to main content

WaveMin

WaveMin (waveName [, x1, x2])

The WaveMin function returns the minimum value in the wave for points between x=x1 to x=x2, inclusive.

Details

If x1 and x2 are not specified, they default to -inf and +inf, respectively.

The X scaling of the wave is used only to locate the points nearest to x=x1 and x=x2. To use point indexing, replace x1 with "pnt2x(waveName,pointNumber1 )", and a similar expression for x2.

If the points nearest to x1 or x2 are not within the point range of 0 to numpnts(waveName )-1, WaveMin limits them to the nearest of point 0 or point numpnts(waveName)-1.

NaN values in the wave are ignored.

See Also

WaveMax, WaveMinAndMax, WaveStats