[Pkg-octave-devel] Errors in octave-signal's testsuite
Thomas Weber
tweber at debian.org
Tue Mar 13 23:55:24 UTC 2012
On Tue, Mar 13, 2012 at 10:58:07PM +0100, Rafael Laboissiere wrote:
> 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, :)))
> #########################################################################
#########################################################################
octave:1> sf = 800; sf2 = sf/2;
octave:2> data=[sinetone(49,sf,10,1),sinetone(50,sf,10,1),sinetone(51,sf,10,1)];
octave:3> [b, a] = pei_tseng_notch ( 50 / sf2, 2 / sf2 )
b =
0.99213 -1.83322 0.99213
a =
1.00000 -1.83322 0.98426
octave:4> filtered = filter ( b, a, data );
octave:5> 20 * log10 ( max ( filtered ( end - 1000 : end, :)))
ans =
-3.0103 -250.7217 -3.0935
#########################################################################
That's from my normal system, the build happened in a cowbuilder chroot.
Thomas
More information about the Pkg-octave-devel
mailing list