Azzera filtri
Azzera filtri

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

33 visualizzazioni (ultimi 30 giorni)
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 Commento
Adam
Adam il 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.

Accedi per commentare.

Risposta accettata

KSSV
KSSV il 2 Feb 2017

Più risposte (0)

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by