Advertisement
MarouaneTheViper

Untitled

Apr 24th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. Hz=tf([0.74 -2.54 2.5216],[1 0 0.64],0.1)
  2. subplot(2,1,1);
  3. pzmap(Hz);
  4. hold on;
  5. subplot(2,1,2);
  6. impz([0.74 -2.54 2.5216],[1 0 0.64]);
  7. hold on;
  8. n=0:1:49;
  9. Xn=(-2*(0.3).^n)+2*(0.8).^n;
  10. y=filter([0.74 -2.54 2.5216],[1 0 0.64],Xn);
  11. plot(y);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement