Guest User

Untitled

a guest
Jun 25th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. i=10;
  2. Wn1 = [(700-i)*2/fs,(700+i)*2/fs];
  3. [b2,a2] = butter(1,Wn1,'stop');
  4. n = 1400;
  5. while n < fs/2
  6. Wn1 = [(n-i)*2/fs,(n+i)*2/fs];
  7. [bt,at] = butter(1,Wn1,'stop');
  8. b2=conv(b2,bt);
  9. a2=conv(a2,at);
  10. n = n + 700;
  11. end
  12. fvtool(b2,a2);
Add Comment
Please, Sign In to add comment