Simulate and plot Butterworth filter frequency response using transfer function
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Genrikh
el 11 de Dic. de 2022
Respondida: Star Strider
el 11 de Dic. de 2022
I am attempting to the simulate the frequency response of a butterworth fiilter. The transfer function for the butterworth filter is, R/(s^3(L1)(L2)+S^2RC(L1)+S(L1+L2)+R). The filter is designed to be a bandpass filter at 1kHz.
This is the code I have
R = 10;
L1 = 10;
L2 = 10;
C = 1;
numerator = R;
a = L1*L2*C;
b = R*C*L1;
c = L1+L2;
denominator = [a, b, c, R];
sys = tf(numerator, denominator);
stepplot(sys)
0 comentarios
Respuesta aceptada
Star Strider
el 11 de Dic. de 2022
R = 10;
L1 = 10;
L2 = 10;
C = 1; % Changed
numerator = R;
a = L1*L2*C;
b = R*C*L1;
c = L1+L2;
denominator = [a, b, c, R];
sys = tf(numerator, denominator);
hbp = bodeplot(sys);
grid
setoptions(hbp, 'FreqUnits','kHz');
The component values need to be changed to achieve the desired frequency response. I leave that to you.
.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Digital Filter Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
