help-octave
[Top][All Lists]
Advanced

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

Re: count and sum element negative in array


From: shivax
Subject: Re: count and sum element negative in array
Date: Thu, 20 Sep 2018 18:19:15 -0500 (CDT)

thanks you


if i want to count element !=0

example :   a=[-3,0,4,5,-8,-9,0]

count=5


it's possible to do it  avoid using loop?



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



reply via email to

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