Extrapolating a line between two points

1 Ansicht (letzte 30 Tage)
Mahi Nazir
Mahi Nazir am 5 Nov. 2013
Kommentiert: Mahi Nazir am 5 Nov. 2013
I am plotting a line using bresenham algorithm between two points. How can I extend (extrapolate) that line? e.g I am plotting a line between points (0,2) and (4,10) using bresenham algo. I want the output plot be the extrapolated line between (0,2) and (8,y).
Any help will be appreciated
  1 Kommentar
Mahi Nazir
Mahi Nazir am 5 Nov. 2013
Since I am using bresenham algo, I am plotting each point along the line.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by