help-octave
[Top][All Lists]
Advanced

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

Nonconformant \ behaviour


From: Richard Gould
Subject: Nonconformant \ behaviour
Date: Mon, 29 Jan 2001 23:01:53 +1100

In matlab, the command sequence:

A=[1,2,3,4];
b=[1];
x=A\b

gives x=[0;0;0;0.2500]

Whilst in octave, this produces the message:

"error: operator \: nonconformant arguments (op1 is 1x4, op2 is 1x1)"

Is there a way of working around this apparent discrepency? I'm trying to
port some code to octave and this has me stuck.

Thanks,
Richard Gould











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

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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