Effacer les filtres
Effacer les filtres

how to find similar points in two different matrices

4 vues (au cours des 30 derniers jours)
Hessa alali
Hessa alali le 11 Avr 2019
Modifié(e) : Stephen23 le 11 Avr 2019
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.

Réponse acceptée

Stephen23
Stephen23 le 11 Avr 2019
Modifié(e) : Stephen23 le 11 Avr 2019
>> X = ismembertol(M,N,'ByRows',true);
>> C = M(X,:)
C =
224 345

Plus de réponses (0)

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by