DADiSP Worksheet Functions > Function Categories > Statistics and Calculus > MOVMIN

 

MOVMIN

Purpose:

Performs an N-point moving minimum calculation.

Syntax:

MOVMIN(series, N)

series

-

A series or table.

N

-

An integer, the number of points on which to calculate the minimum.

Returns:

A series or table.

Example:

W1: {2,3,1,5,2,4,5,7,2}

W2: movmin(W1, 4)

 

returns the series: {2,2,1,1,1,1,2,2,2}.

 

In this example where there is a 4-point sliding window in which the minimum is calculated, the first 3 points in the returned series are the minima from a 2, and 3 point window respectively.

Example:

decimate(movmin(W1,10), 10)

 

calculates the 10 point moving minimum of non-overlapping blocks.

Remarks:

The first N-1 points returned for MOVMIN over an N-point window are the minimum values in consecutively larger windows of size 1, 2, 3, ... , N-1.

 

See BLOCKMIN to compute the minimum of non-overlapping blocks.

See Also:

BLOCKMIN

MOVAVG

MOVMAX