Extrapolating a line between two points

조회 수: 1 (최근 30일)
Mahi Nazir
Mahi Nazir 2013년 11월 5일
댓글: Mahi Nazir 2013년 11월 5일
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
Mahi Nazir
Mahi Nazir 2013년 11월 5일
Since I am using bresenham algo, I am plotting each point along the line.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by