Advertisement
BORUTO-121

sinus_on_cilinder(7)

Mar 6th, 2022
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.15 KB | None | 0 0
  1. f(5,2.5,20);
  2. function []=f(R,h,N)
  3.     fi=0:0.01:2*pi;
  4.     x=R*cos(fi);
  5.     y=R*sin(fi);
  6.     z=h*sin(N*fi)+h;
  7.     plot3(x,y,z);
  8.     grid on;
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement