필터 지우기
필터 지우기

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 CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by