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

2 visualizzazioni (ultimi 30 giorni)
I want to know the column numbers of a matrix which contains values less than 50.
how to do this???

Risposta accettata

KSSV
KSSV il 16 Apr 2019
Modificato: KSSV il 16 Apr 2019
Let A be your row matrix.
idx = A<50 ;
idx = find(idx)

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by