Coordinates elements and distance

조회 수: 2 (최근 30일)
Francesco
Francesco 2014년 2월 6일
댓글: Image Analyst 2014년 3월 22일
I have this variable that represent the x,y coordinates of a points
  댓글 수: 1
Image Analyst
Image Analyst 2014년 3월 22일
Francesco, are you editing away all your questions? In the last hour most of them seem to have been practically removed. You should not do this if you want people to answer you in the future.

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

채택된 답변

Amit
Amit 2014년 2월 7일
temp = find(val>0);
cord_new = coordinate(:,temp+1);
distx = (((cord_new(1,:) - coordinate(1,1)).^2) + ((cord_new(2,:) - coordinate(2,1)).^2)).^0.5;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by