Advertisement
Guest User

Untitled

a guest
Apr 24th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. T=pi/32;
  2. t=0:T:2*pi;
  3. x=exp(-t).*sin(4*t);
  4. h=(1/4)*((t>=(pi/4))-(t>=(3*pi/4)));
  5. figure(1)
  6. subplot(3,1,1)
  7. plot(t,x)
  8. subplot(3,1,2)
  9. plot(t,h)
  10. y=conv(x,h);
  11. t1=0:T:4*pi-1;
  12. subplot(3,1,3)
  13. plot(y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement