how to know the column numbers of a matrix which contains values less than 50.

1 vue (au cours des 30 derniers jours)
I want to know the column numbers of a matrix which contains values less than 50.
how to do this???

Réponse acceptée

KSSV
KSSV le 16 Avr 2019
Modifié(e) : KSSV le 16 Avr 2019
Let A be your row matrix.
idx = A<50 ;
idx = find(idx)

Plus de réponses (0)

Catégories

En savoir plus sur NaNs dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by