MEDFILT1

Purpose:

Performs median filtering on a series.

Syntax:

MEDFILT1(series, points)

series

-

A series or table.

points

-

An integer, the number of points to calculate the median as the series is processed.

Returns:

A series or table.

Example:

W1: 1..5

W2: medfilt1(W1, 3)

W3: movmedian(W1, 3, 0)

 

W2 == {1, 2, 3, 4, 4}

W3 == {0, 1, 2, 3, 4, 4, 0}

Remarks:

MEDFILT1 computes a moving median similar to MOVMEDIAN where the beginning and end points of the series are assumed to be zero.

 

See MEDFILT to perform 2D median filtering on an array or image.

 

See MEDIAN to compute the median of the entire series.

See Also:

BLOCKMEDIAN

COLMEDIAN

MEDIAN

MEDFILT

MOVAVG

MOVMEDIAN

SORT