help-octave
[Top][All Lists]
Advanced

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

matrix operators /


From: Joseph A Cerniglia
Subject: matrix operators /
Date: Wed, 25 Aug 2010 13:57:05 -0400

Not sure if this is a bug.

a = [ 1 2 3]
b = [ 2 4 6]

As expected,
a/b returns 0.50
a./b returns  0.50 0.50 0.50.

Now change b(3)  = 7

a/b  returns 0.44928
What is this result/calculation?

As expected,
a./b returns 0.50 0.50 .42857




 
 



reply via email to

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