Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f(5,2.5,20);
- function []=f(R,h,N)
- fi=0:0.01:2*pi;
- x=R*cos(fi);
- y=R*sin(fi);
- z=h*sin(N*fi)+h;
- plot3(x,y,z);
- grid on;
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement