compare the executive speed with Matlab

Sergei Steshenko sergstesh at yahoo.com
Fri Jan 2 17:27:26 CST 2009




--- On Fri, 1/2/09, wim van hoydonck <wim.van.hoydonck at gmail.com> wrote:

> From: wim van hoydonck <wim.van.hoydonck at gmail.com>
> Subject: Re: compare the executive speed with Matlab
> To: sergstesh at yahoo.com
> Cc: "John W. Eaton" <jwe at octave.org>, help at octave.org, "Howard" <shj1130 at pchome.com.tw>
> Date: Friday, January 2, 2009, 2:21 PM

[snip]

>   sins   = pi * sin(angles)

[snip]

I the above line of code should simply be

sins   = sin(angles)

, i.e. the 'pi' coefficient is wrong.

Thanks,
  Sergei.


      


More information about the Help-octave mailing list