Advertisement
Ostu

Untitled

Mar 22nd, 2021
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.32 KB | None | 0 0
  1. wfal=8;
  2. n2=2;
  3. n3=3;
  4. n4=4;
  5. n5=5;
  6. [z2,p2,k2]=cheb2ap(n2,wfal);
  7. [z3,p3,k3]=cheb2ap(n3,wfal);
  8. [z4,p4,k4]=cheb2ap(n4,wfal);
  9. [z5,p5,k5]=cheb2ap(n5,wfal);
  10. [L2,M2]=zp2tf(z2,p2,k2);
  11. [L3,M3]=zp2tf(z3,p3,k3);
  12. [L4,M4]=zp2tf(z4,p4,k4);
  13. [L5,M5]=zp2tf(z5,p5,k5);
  14. H(n2)=tf(L2,M2)
  15. H(n3)=tf(L3,M3)
  16. H(n4)=tf(L4,M4)
  17. H(n5)=tf(L5,M5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement