e in octave

Thomas Weber thomas.weber.mail at gmail.com
Sat Nov 8 10:41:36 CST 2008


On Sat, Nov 08, 2008 at 03:06:29PM +1100, james mcskimming 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.

>> e
??? Undefined function or variable 'e'.

>> e^2
??? Undefined function or variable 'e'.

>> version

ans =

7.1.0.183 (R14) Service Pack 3


Are you sure e as a value is available in Matlab?

	Thomas


More information about the Help-octave mailing list