fir1

From STX Wiki
< Programmer Guide‎ | Command Reference‎ | EVAL
Revision as of 15:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
fir1

A Finite Impulse Response (FIR) filter.

Usage:

fir1(f1, f2, n)

Function:

Computes the filter coefficients for a FIR filter with cutoff frequencies f1, f2 and the length 2*n+1.

Result:

A vector with 2*n+1 filter coefficients.

Usage:

fir1(f1, f2, n, x)

Function:

Computes the filter coefficients for a FIR filter with cutoff frequencies f1, f2 and the length 2*n+1 and applies the computed filter to the signal vector x.

Result:

The FIR filtered signal.

Return Type:

Same as x.

Navigation menu

Personal tools