[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Strange behaviour of IF
From: |
SZABO Sandor |
Subject: |
Strange behaviour of IF |
Date: |
Fri, 21 Apr 2000 16:40:16 +0000 |
Dear Octave users,
>> A=[1 1], B=[1 0], turn="yes"
A =
1.00000 1.00000
B =
1.00000 0.00000
turn = yes
>> if A!=B
turn="not"
endif
>> turn
turn = yes
>>
How can I compare two vectors, matrices?
Thanks in advance,
Sandor Szabo
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------
- Strange behaviour of IF,
SZABO Sandor <=