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

3 vues (au cours des 30 derniers jours)
alex
alex le 23 Sep 2016
two points are x = x1 and x2 y = y1 and y2
and the given angle is theeta

Réponses (1)

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

Catégories

En savoir plus sur 3-D Scene Control dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by