Increasing the Filter Order
Music 270a: Introduction to Digital Filters
Generalized FIR
Matlab's
filter
function
The Matlab implementation for the filter is most easily accomplished using the
filter
function
y = filter(B, A, x).
The
filter
function takes three (3) arguments:
feedforward coefficients B,
feedback coefficients A,
and the input signal
.
If the filter doesn't have feedback coefficients, as is the case with an FIR filter, A = 1.
Our simple low-pass filter,
, is a first order filter with 2 feedforward coefficients (
B = [1, 1]
).
In matlab:
B = [1 1]; A = 1; y = filter(B, A, x);
Increasing the Filter Order
Music 270a: Introduction to Digital Filters
Generalized FIR
``
Mus 270a: Introduction to Digital Filters
'' by
Tamara Smyth
, Department of Music, University of California, San Diego.
Download
PDF version (filters.pdf)
Download
compressed PostScript version (filters.ps.gz)
Download
PDF `4 up' version (filters_4up.pdf)
Download
compressed PostScript `4 up' version (filters_4up.ps.gz)
Copyright ©
2019-02-25
by
Tamara Smyth
.
Please email errata, comments, and suggestions to
Tamara Smyth
<
trsmyth@ucsd.edu
>