Matlab won't plot my 3d graph

2 vues (au cours des 30 derniers jours)
Madara Hettigama
Madara Hettigama le 4 Nov 2019
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?

Réponses (1)

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH le 4 Nov 2019
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

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by