How can find specific values form the below matrix?

조회 수: 2 (최근 30일)
Amir Torabi
Amir Torabi 2019년 12월 14일
편집: dpb 2019년 12월 14일
Hi.
I have a Matrix A. It contains the several coordinates. I'd like to find the distance of each coordinate(x,y) from others.
And store only the coordinates that their distance from others is greater than 50.
Thank for your help.
%-----code
load A;
  댓글 수: 1
dpb
dpb 2019년 12월 14일
편집: dpb 2019년 12월 14일
doc pdist
doc pdist2
then look up logical operators.
This is about a 2-3 liner...

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by