Coordinates elements and distance

1 次查看(过去 30 天)
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 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by