e in octave

Brian Curtis briancurtis.wx at gmail.com
Fri Nov 7 22:21:01 CST 2008


exp(1) works in both octave and matlab, so I would suggest sticking with
that

~Brian

Research is what I'm doing when I don't know what I'm doing.
--Wernher Von Braun
"The second law of thermodynamics: If you think things are in a mess now,
JUST WAIT!!"


On Fri, Nov 7, 2008 at 11:06 PM, james mcskimming <jasmc at people.net.au>wrote:

> i've always accepted that e=exp(1) is a constant available in Octave
> just like pi and others.  But i wrote code using e as a constant only to
> discover it didn't work when a friend tried to run it on Matlab.
> I've never used Matlab but assumed there would be compatability at such
> a basic level.
> Is there a reason why? and other than defining the variable e=exp(1) in
> code for Matlab, is there a better way?
> thx
> Jas
>
> _______________________________________________
> Help-octave mailing list
> Help-octave at cae.wisc.edu
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20081107/98870587/attachment.html 


More information about the Help-octave mailing list