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

3 次查看(过去 30 天)
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