Matlab won't plot my 3d graph

16 visualizzazioni (ultimi 30 giorni)
Madara Hettigama
Madara Hettigama il 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?

Risposte (1)

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH il 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

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by