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

Rafael Laboissiere rafael at laboissiere.net
Thu Mar 15 20:49:08 UTC 2012


* Thomas Weber <tweber at debian.org> [2012-03-15 18:13]:

> On Thu, Mar 15, 2012 at 09:10:54AM +0100, Rafael Laboissiere wrote:
> > Could you please run the following in your system and tell me what you
> > get:
> > 
> >     format hex
> >     sin (2 * pi * 51 / 800)
> > 
> > I get here:
> > 
> >     ans = 3fd8f49342b6bb0f
> 
> No, I get the same:
> octave:1> format hex
> octave:2> sin (2 * pi * 51 / 800)
> ans = 3fd8f49342b6bb0f

I was trying to hunt down the discrepancy between the .mat file that you
prepared and the values that I get here.  They are no the same:

octave:1> format hex
octave:2> load pei_tseng_notch.mat
octave:3> data (1, 3)
ans = 3fd8f49342b6bb10
octave:4> sf = 800; sf2 = sf/2;
octave:5> data=[sinetone(49,sf,10,1),sinetone(50,sf,10,1),sinetone(51,sf,10,1)];
octave:6> data (1, 3)
ans = 3fd8f49342b6bb0f

Why?

Rafael



More information about the Pkg-octave-devel mailing list