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

3 Ansichten (letzte 30 Tage)
alex
alex am 23 Sep. 2016
Beantwortet: Abhishek Jain am 23 Sep. 2016
two points are x = x1 and x2 y = y1 and y2
and the given angle is theeta

Antworten (1)

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

Kategorien

Mehr zu 3-D Scene Control finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by