On 7 November 2011 16:43, Alberto Cuadrado <a.cuadr...@gmail.com> wrote: > Hello, > > I think there is a bug in the fir1 function in signal-1.0.11 (and probably > also in 1.1.1 because I don't see significant changes in the code). The > problem is that single-band lowpass filters returned by fir1 don't have a DC > gain of 1. For example: > > octave-3.2.4:1> sum(fir1(240,0.01)) > ans = 1.1822 > > That should return 1 (with low-order filters the problem is not so obvious). > > Regards > > Alberto Cuadrado
I can confirm that this still occurs in octave 3.4.3 with signal 1.1. Do you think you can contribute a patch to fix this? Carnë ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev