FIR filter using windowed impulse response
h = window(d,fcnhndl,fcnarg,'SystemObject',true)
h = window(d,win,'SystemObject',true)
h = window(d,fcnhndl,fcnarg,'SystemObject',true)
designs
a single-rate digital filter System object™ using the specifications
in filter specification object d
.
fcnhndl
is a handle to a filter design function that returns a window
vector, such as the hamming
or blackman
functions.
fcnarg
is an optional argument that returns a window. You pass
the function to window
.
h = window(d,win,'SystemObject',true)
designs
a filter using the vector you supply in win
. The
length of vector win
must be the same as the impulse
response of the filter, which is equal to the filter order plus one.