フィルターのクリア

How to find the row and column of elements where the value of A is the same as B

1 回表示 (過去 30 日間)
A and B are matrices. Is there a function I'm missing?

採用された回答

Alfonso Nieto-Castanon
Alfonso Nieto-Castanon 2014 年 7 月 15 日
[i,j] = find(A==B);
  2 件のコメント
Doug
Doug 2014 年 7 月 15 日
ahhhh I wasn't doing boolean double ='s. Thank you!

サインインしてコメントする。

その他の回答 (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