How to find all elements in a matrix less than a certain number?
Afficher commentaires plus anciens
I have a matrix M, I want to find all elements in this matrix that are less than -50 to be produced in a column vector
Réponses (1)
Walter Roberson
le 23 Jan 2021
0 votes
Hint: use logical indexing
Catégories
En savoir plus sur Creating and Concatenating Matrices 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!