I want to plot a vector function in 3d, with one variable.
x = 2*sin(t)
y = 4*cos(t)
z = t
is my vector function. How can i make it on an easy way?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 12 de Nov. de 2015
Editada: Walter Roberson el 12 de Nov. de 2015

2 votos

t = linspace(-10*pi, 10*pi); %define the range you are plotting over
x = 2*sin(t);
y = 4*cos(t);
z = t;
plot3(x, y, z);
axis equal

Más respuestas (0)

Categorías

Preguntada:

el 12 de Nov. de 2015

Comentada:

el 12 de Nov. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by