help-octave
[Top][All Lists]
Advanced

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

How to generate logical column vector from matrix rows?


From: Dario
Subject: How to generate logical column vector from matrix rows?
Date: Fri, 28 Sep 2012 11:00:17 -0700 (PDT)

Hey guys, 
I'm a new Octave user. 
I have one question for you. 
Matrix is formed of values -1, 0, and 1.
If I have -1 and 1 in one row of the matrix I need to get "true" for this
row, otherwise I need to get "false".
I need to loop through all rows of the matrix and get a logical column
vector assigned to the matrix. 
Please help me! :-)

P.S. sorry for mistakes, I'm new in English 



--
View this message in context: 
http://octave.1599824.n4.nabble.com/How-to-generate-logical-column-vector-from-matrix-rows-tp4644771.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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