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

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

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by