Projecting a point into a line
이전 댓글 표시
How can I project a point (let's say (50,0)) to a line (y = 5.6x - 7.1)?
Thank you.
댓글 수: 3
Mark Sherstan
2018년 12월 11일
Look at the answer here
Donigo Fernando Sinaga
2018년 12월 11일
Adam Danz
2018년 12월 11일
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.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
