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

조회 수: 2 (최근 30일)
I want to know the column numbers of a matrix which contains values less than 50.
how to do this???

채택된 답변

KSSV
KSSV 2019년 4월 16일
편집: KSSV 2019년 4월 16일
Let A be your row matrix.
idx = A<50 ;
idx = find(idx)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 NaNs에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by