How to find a point along a line a certain distance away from another point

22 次查看(过去 30 天)
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 个评论
Adam
Adam 2017-2-2
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.

请先登录,再进行评论。

采纳的回答

KSSV
KSSV 2017-2-2

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mathematics and Optimization 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by