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

2 views (last 30 days)
two points are x = x1 and x2 y = y1 and y2
and the given angle is theeta

Answers (1)

Abhishek Jain
Abhishek Jain on 23 Sep 2016
That is pretty simple.
x=[x1 x2];
y=[y1 y2];
plot(x,y)

Categories

Find more on 3-D Scene Control in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!