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?

 채택된 답변

Walter Roberson
Walter Roberson 2015년 11월 12일
편집: Walter Roberson 2015년 11월 12일

2 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

질문:

2015년 11월 12일

댓글:

2015년 11월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by