help-octave
[Top][All Lists]
Advanced

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

Re: Conditional Statements for specific elements in Arrays and Matrixes


From: JokerOne
Subject: Re: Conditional Statements for specific elements in Arrays and Matrixes
Date: Fri, 10 Oct 2014 02:32:31 -0700 (PDT)

I am not exactly sure, if this is what you are looking for, but the "find"
function might help you

[row_result,col_result] = find(M > 5)

see "help find" for details.



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Conditional-Statements-for-specific-elements-in-Arrays-and-Matrixes-tp4666918p4666919.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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