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). ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev