[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Pkg-octave-devel] Errors in octave-signal's testsuite



* Rafael Laboissiere <rafael@laboissiere.net> [2012-03-13 21:48]:

> * Thomas Weber <tweber@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



Reply to: