[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.
- How to generate logical column vector from matrix rows?,
Dario <=
- Re: How to generate logical column vector from matrix rows?, Ben Abbott, 2012/09/28
- Re: How to generate logical column vector from matrix rows?, Dario, 2012/09/29
- Re: How to generate logical column vector from matrix rows?, James Sherman Jr., 2012/09/29
- Re: How to generate logical column vector from matrix rows?, Dario, 2012/09/30
- Re: How to generate logical column vector from matrix rows?, James Sherman Jr., 2012/09/30
- Re: How to generate logical column vector from matrix rows?, Doug Stewart, 2012/09/30
- Re: How to generate logical column vector from matrix rows?, Dario, 2012/09/30