Matlab won't plot my 3d graph

I entered
t= 0:0.4:40;
x=20.*sin(t);
y=20.*cos(t);
z= 10-(t./4).^2;
plot3(x,y,z)
and clicked run bit nothing happened?

回答 (1 件)

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH 2019 年 11 月 4 日

0 投票

it work well
close all
figure
x=20.*sin(t);
y=20.*cos(t);
z= 10-(t./4).^2;
plot3(x,y,z)
tempo.png

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

タグ

質問済み:

2019 年 11 月 4 日

回答済み:

2019 年 11 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by