help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: e in octave


From: Brian Curtis
Subject: Re: e in octave
Date: Fri, 7 Nov 2008 23:21:01 -0500

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 <address@hidden> 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
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave


reply via email to

[Prev in Thread] Current Thread [Next in Thread]