[Top][All Lists]

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

[a (b + c)] == [a b+c] ?

From: Daniel Kottow
Subject: [a (b + c)] == [a b+c] ?
Date: Thu, 15 Jun 2000 11:56:51 +0200

i am trying to get a matlab implementation to work on octave (GTM
toolbox) and the following gave me some trouble:

lets define: 

T = [0.15:0.05:3.05]';

then evaluate:

[T (T + 1.25*sin(2*T))]

and compare to

[T T+1.25*sin(2*T)]

which does give you the 2 col matrix [T f(T)] as intended.

(from the GTM source you may guess that matlab does the second thing on
both commands)
btw, i am only posting this as an "octave-tester". no suggestion

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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