Borrar filtros
Borrar filtros

Coordinates elements and distance

1 visualización (últimos 30 días)
Francesco
Francesco el 6 de Feb. de 2014
Comentada: Image Analyst el 22 de Mzo. de 2014
I have this variable that represent the x,y coordinates of a points
  1 comentario
Image Analyst
Image Analyst el 22 de Mzo. de 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.

Iniciar sesión para comentar.

Respuesta aceptada

Amit
Amit el 7 de Feb. de 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;

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by