Hi,
I'm trying to optimize the coefficients of a filter in Matlab. I have the
code that generates zillions of H(z) for various quantization level of
coefficients etc...Now I would like the same script to tell me which ones
of those filters still meet my specification (passband and stopband
attenuation etc...).
I usually use fvtool(H) to eyeball the frequency response, but now that I
have so many to look at, this doesn't make sense anymore.
I then started to play with freqz(H) and writing some code to go through
the magnitude response array. This somewhat works, but would still
requires
a lot of work, unless there is an easier way. Seems like functions to do
this should exist already in Matlab???
Thanks a lot,
Dave