Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. f1=20;
  2. f2=100;
  3. df=f2-f1; % frequency
  4. dt=0.002; % sample rate
  5. T=4; % time
  6. handles.t=0:dt:T-dt;
  7. handles.s=sin(2.*pi.*handles.t.*(f1+(df/((T-dt)*2).*handles.t)));%function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement