how to draw a line with two points x and y at a given angle???

조회 수: 3 (최근 30일)
alex
alex 2016년 9월 23일
답변: Abhishek Jain 2016년 9월 23일
two points are x = x1 and x2 y = y1 and y2
and the given angle is theeta

답변 (1개)

Abhishek Jain
Abhishek Jain 2016년 9월 23일
That is pretty simple.
x=[x1 x2];
y=[y1 y2];
plot(x,y)

카테고리

Help CenterFile Exchange에서 3-D Scene Control에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by