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 件のコメント

Muhammad Mubashir Iqbal
Muhammad Mubashir Iqbal 2022 年 11 月 7 日
Thank you
VBBV
VBBV 2022 年 11 月 7 日
thanks is accepting answer

サインインしてコメントする。

 採用された回答

VBBV
VBBV 2022 年 11 月 7 日

0 投票

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

2 件のコメント

VBBV
VBBV 2022 年 11 月 7 日
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