how to find similar points in two different matrices

4 ビュー (過去 30 日間)
Hessa alali
Hessa alali 2019 年 4 月 11 日
編集済み: Stephen23 2019 年 4 月 11 日
I have 2 matrices, let say M=[224 345; 225 455; 227 698] and N=[224 345; 228 567; 229 677]. i want to find the similar points and put them in new matrix as x and y.
the answer should be C=[224 345] as a point.

採用された回答

Stephen23
Stephen23 2019 年 4 月 11 日
編集済み: Stephen23 2019 年 4 月 11 日
>> X = ismembertol(M,N,'ByRows',true);
>> C = M(X,:)
C =
224 345

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by