Produce a linear phase filter from the weighted mean squared such that error in the specified bands is minimized.
Arguments
- N
filter order, must be even (if odd, then will be increased by one)
- freq
vector of frequency points in the range from 0 to 1, where 1 corresponds to the
Nyquistfrequency.- A
vector of the same length as
freqcontaining the desired amplitude at each of the points specified infreq.- W
weighting function that contains one value for each band that weights the mean squared error in that band.
Wmust be half the length offreq.- ftype
transformer type; default is
""; alternatively,'h'or'hilbert'for 'Hilbert' transformer.