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

2 ビュー (過去 30 日間)
IP student ;(
IP student ;( 2019 年 4 月 16 日
編集済み: KSSV 2019 年 4 月 16 日
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 Center および File ExchangeNaNs についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by