Coordinates elements and distance
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Francesco
am 6 Feb. 2014
Kommentiert: Image Analyst
am 22 Mär. 2014
I have this variable that represent the x,y coordinates of a points
1 Kommentar
Image Analyst
am 22 Mär. 2014
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.
Akzeptierte Antwort
Amit
am 7 Feb. 2014
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!