Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
You have a segment more than will fit up to 360 degrees. You can either lengthen the rotation (the ends will kind of add up)
[u,t] = meshgrid(0.01:0.1:4,0:0.01:2.1*pi);
disp(t)
x = u.*sin(t);
y = u.*cos(t);
z = u;
surf(x,y,z)
xlabel x, ylabel y
[u,t] = meshgrid(0.01:0.1:4,0:0.025:2*pi);
disp(t)
x = u.*sin(t);
y = u.*cos(t);
z = u;
surf(x,y,z)
xlabel x, ylabel y
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question