help-octave
[Top][All Lists]
Advanced

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

how to get the element >0 in array


From: turbofib
Subject: how to get the element >0 in array
Date: Wed, 18 Jul 2018 08:20:23 -0500 (CDT)

i've the following array:

a=[-3 -5 0 5 4]

i want to loop it until i find element>0 (5)


can I loop it but is there a faster method? 





--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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