From: Martin H. <ma...@mh...> - 2012-03-06 09:58:32
|
Am 06.03.2012 10:40, schrieb Jerry: > I just submitted a bug report for a big-ass bug in freqz: > > > If h is an FIR impulse response, then > freqz(h); > performs as advertised. However, > freqz(h, N); >From what I can see when I look at the function freqz this use freqz(h, N); is completely wrong for what you want. The second argument is the denominator parameter and you get exactly what the function is supposed to give in this case. The third argument is is the number of frequencies. So what you want is probably freqz(h, 1, N). |