t=0:0.2:30*pi; a=5;a=5;B=10; b=4;C=8;c=5;coef=0.07; x= A*cos(a*coef*t); y= B*sin(b*coef*t); z= C*(1-exp(-5*coef*t)); plot(x,y,z,'b') grid on

댓글 수: 2

Thank you
VBBV
VBBV 2022년 11월 7일
thanks is accepting answer

댓글을 달려면 로그인하십시오.

 채택된 답변

VBBV
VBBV 2022년 11월 7일

0 개 추천

plot3(x,y,z,'b')

댓글 수: 2

t=0:0.2:30*pi;
a=5;A=5;B=10;
b=4;C=8;c=5;
coef=0.07;
x= A*cos(a*coef*t);
y= B*sin(b*coef*t);
z= C*(1-exp(-5*coef*t))
z = 1×472
0 0.5408 1.0451 1.5153 1.9537 2.3625 2.7436 3.0990 3.4303 3.7393 4.0273 4.2959 4.5463 4.7798 4.9975 5.2005 5.3898 5.5662 5.7308 5.8842 6.0272 6.1606 6.2850 6.4009 6.5090 6.6098 6.7038 6.7914 6.8731 6.9493
plot3(x,y,z)
grid on
VBBV
VBBV 2022년 11월 7일
use plot3 function

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

질문:

2022년 11월 7일

댓글:

2022년 11월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by