Projecting a point into a line
Mostrar comentarios más antiguos
How can I project a point (let's say (50,0)) to a line (y = 5.6x - 7.1)?
Thank you.
3 comentarios
Mark Sherstan
el 11 de Dic. de 2018
Look at the answer here
Donigo Fernando Sinaga
el 11 de Dic. de 2018
Adam Danz
el 11 de Dic. de 2018
If you look at the example in the link Mark provided, you'll see that the vector variable is actually a 2x2 matrix of the endpoint coordinates of the line.
Since you already have the slope, intercept, and (x,y) coordinates of another point, I suggest using the method proposed in the answer section.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Numerical Integration and Differentiation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
