Butterfly 2

mail@pastecode.io avatar
unknown
plain_text
19 days ago
229 B
2
Indexable
Never
%butterworth filter - impulse invariance
clc;clear all; close all;
[nb,wb]=buttord(0.2*pi,0.3*pi,1,15,'s');
[b,a]=butter(nb,wb,'s');
sys=tf(b,a);
bode(sys);
figure;
[num1 den1]=impinvar(b,a,1);
freqz(num1,den1)
HZ=tf(num1,den1,1)
Leave a Comment