Matlab won't plot my 3d graph

7 views (last 30 days)
Madara Hettigama
Madara Hettigama on 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?

Answers (1)

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

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!