Coordinates elements and distance

9 ビュー (過去 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 Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by