Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. clc
  2. clear all
  3. close all
  4. t=0:.001:10;
  5. x=cos(2*pi*t);
  6. y=x.^2;
  7. plot(t,y)
  8.  
  9. legend('y(t)')
  10.  
  11. figure
  12. plot(t+3,y)
  13.  
  14. legend('y(t-3)')
  15.  
  16. figure
  17.  
  18. xn=cos(2*pi*(t-3));
  19. y2=xn.^2;
  20. plot(t,y2)
  21.  
  22. legend('S[x(t-3)]')
  23. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement