How to calculate the shortest distance between points and a line?

24 visualizaciones (últimos 30 días)
How to calculate the shortest distance between a set of points and a line? I have set of points and a lineer line, I want to find a point which is shortest distance to the line.

Respuesta aceptada

Rik
Rik el 9 de Abr. de 2019
Editada: Rik el 9 de Abr. de 2019
You can use the point_to_line_distance function.

Más respuestas (0)

Categorías

Más información sobre Construction 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