Guest User

Untitled

a guest
Oct 17th, 2019
98
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. frequenza = 0:0.01:20;
  2. t = 0:0.01:10;
  3. ampiezza = 2 * abs(sinc(frequenza));
  4. fase = frequenza*pi*(-1) - pi*(sinc(frequenza)<0);
  5.  
  6. rect = ampiezza * cos(frequenza'*t + fase'*ones(1,1001));
  7. plot(t, rect);
RAW Paste Data