Calculating distances on a 3d surface

8 visualizaciones (últimos 30 días)
Timon Merk
Timon Merk el 28 de Mzo. de 2019
Comentada: KSSV el 29 de Mzo. de 2019
Hey everyone,
I have the task that I need to calculate the distance of a 3d point to other points on a given surface.
Is there any Matlab function for that? Would be super helpful!
Kind regards,
Timon
  5 comentarios
Walter Roberson
Walter Roberson el 29 de Mzo. de 2019
John is right: distance along a surface can be complicated to compute. bwdistgeodesic() can help if the surface is voxelized, though.
On the other hand, distance through 3 space is quite easy to get in this situation, using pdist2()
KSSV
KSSV el 29 de Mzo. de 2019
Attach your data...and show the distance you want to find between points pictorially.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by