フィルターのクリア

How do I find the index of a known number? (reverse indexing?)

2 ビュー (過去 30 日間)
Sandy
Sandy 2014 年 4 月 3 日
コメント済み: Sandy 2014 年 4 月 3 日
I have a matrix M.
I have a number XXXX.
I want to find the index of this number within my matrix M.
How can I do this?

採用された回答

Sean de Wolski
Sean de Wolski 2014 年 4 月 3 日
idx = find(M==xxxx)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by