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

1 view (last 30 days)
I want to know the column numbers of a matrix which contains values less than 50.
how to do this???

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!