help-octave
[Top][All Lists]
Advanced

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

Re: e in octave


From: Thomas Weber
Subject: Re: e in octave
Date: Sun, 9 Nov 2008 10:32:53 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Nov 08, 2008 at 05:41:36PM +0100, Thomas Weber wrote:
> 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?

Okay, I'm lame. I've read James' statement backwards (e is indeed
available in Octave, but not in Matlab). 

I'm so used to people complaining about features in Matlab that are not
in Octave that I don't even realize when it's the other way round.

        Thomas


reply via email to

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