How do I plot a line showing the distance between two points?

21 visualizaciones (últimos 30 días)
María Peñas Leonor
María Peñas Leonor el 6 de Mzo. de 2019
Respondida: Agnish Dutta el 18 de Mzo. de 2019
I want to show the line that conects two points (the minimun distance between them) in an image.
How can I do it?
Thanks!

Respuestas (1)

Agnish Dutta
Agnish Dutta el 18 de Mzo. de 2019
You can use the 'line' function to plot lines on existing axes. Refer to the following document for the same:
For further reference, you can use this ML answers page with a verified respose:

Categorías

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