Am Freitag, 6. Mai 2011, 22:12:26 schrieb Mike Whitson: > Platform: Mac OS X 10.6.7, MacPorts > Octave version: 3.2.4 > Octave-specfun version: 1.0.8 > > To replicate: > > x = linspace(-500,500,2048); > plot(x, Si(x)); > > Observe the anomalous behavior starting around roughly |x|=200. The Si(x) > function should not drop off like that; it should continue oscillating > asymptotically about +/- pi/2 as x approaches +/- infinity. > > Reference: http://www.wolframalpha.com/input/?i=+Si%28x%29+from+-500+to+500
Just as feedback, if you use the Si from gsl-1.0.8 instead of the one from the specfun package the behaviour is completely correct. Whereas also specfun 1.0.9 shows the wrong behaviour you see with 1.0.8. Tested with octave 3.4.0. ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
