SHARE
TWEET

Untitled

a guest Oct 17th, 2019 96 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top