From: Jerry <lan...@qw...> - 2012-03-06 09:40:40
|
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 |