how many number in col have certain number
Afficher commentaires plus anciens
How do u input a code that indicates how many how numbers in a col vector are greater than a certain number?
i.e. x has 5000 rows, and I am trying to see which how many rows are greater than 0.
Réponses (1)
dpb
le 13 Mai 2014
sum(x>0)
Catégories
En savoir plus sur Vehicle Dynamics Blockset dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!