DADiSP Worksheet Functions > Function Categories > Fourier Transforms and Signal Processing > OASFILT

 

OASFILT

Purpose:

Filters data using the overlap and save method.

Syntax:

OASFILT(series, f, blocksize)

series

-

An input series to filter

f

-

A series. The filter impulse response.

blocksize

-

Optional. An integer, the size of processing block. Defaults to the best power of two for the filter length.

Returns:

A series.

Example:

W1: gnorm(1000, .01)

W2: gsin(100, .01, 3)

W3: oasfilt(W1, W2)

 

Block filters the noise in W1 with the sin filter in W2. The blocksize defaults to 128.

Remarks:

OASFILT uses the overlap and save method of block filtering by computing the FFT of blocks of the input data.

See Also:

CONV

FFT