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

3 visualizaciones (últimos 30 días)
alex
alex el 23 de Sept. de 2016
Respondida: Abhishek Jain el 23 de Sept. de 2016
two points are x = x1 and x2 y = y1 and y2
and the given angle is theeta

Respuestas (1)

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

Categorías

Más información sobre 3-D Scene Control en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by