Advertisement
BORUTO-121

sinus_on_cilinder(7)

Mar 6th, 2022
168
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data Copied
Advertisement