[Pkg-octave-devel] Errors in octave-signal's testsuite
Rafael Laboissiere
rafael at laboissiere.net
Tue Mar 13 21:58:07 UTC 2012
* Rafael Laboissiere <rafael at laboissiere.net> [2012-03-13 21:48]:
> * Thomas Weber <tweber at debian.org> [2012-03-13 21:17]:
>
> > Failures are in 'residued' and 'pei_tseng_notch' (whatever that is).
> > Build log at http://people.debian.org/~tweber/logs/
> >
> > The residued is a problem: it seems real and imaginary parts are
> > interchanged.
>
> Strange... The tests passed for me here. I will check this later.
Could you please install octave-signal_1.1.2-1 on your unstable system,
run the following code, and tell me what you get:
#########################################################################
sf = 800; sf2 = sf/2;
data=[sinetone(49,sf,10,1),sinetone(50,sf,10,1),sinetone(51,sf,10,1)];
[b, a] = pei_tseng_notch ( 50 / sf2, 2 / sf2 )
filtered = filter ( b, a, data );
20 * log10 ( max ( filtered ( end - 1000 : end, :)))
#########################################################################
Rafael
More information about the Pkg-octave-devel
mailing list