How to find a point along a line a certain distance away from another point
22 views (last 30 days)
Show older comments
Hi,
I have a line between two points : P1 = (x1,y1) and P2= (x2,y2). I have linear function equation : y = ax + b I want to extend a line a distance about 10 from P1 and P2 (in each direction left and right -) I need to find new points P3 and P4 on this line. I don"t have any idea how to move point a distance on the line ?
I would be appreciate for any help please.
1 Comment
Adam
on 2 Feb 2017
Sounds like a question you should work out on paper before you do it in Matlab if you aren't familiar with the maths itself.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Mathematics and Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!