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); where N is any number including the default 512 returns incorrect magnitude results. The incorrect result is wrong by a scale factor of 1/N, so that dB plots are low by 20.0 * log10(N). If instead freqz(h * N, N); is used, the results are as would be expected if freqz were not broken. How many years has this been broken? What is the vetting/testing/curating process for Octave? Jerry ------------------------------------------------------------------------------ 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