Programmer Guide/Command Reference/EVAL/fir1: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
m (1 revision: Initial import)
(No difference)

Revision as of 18:31, 18 November 2010

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