License and install the Control System Toolbox and the code should work.
R=470;
L=100E-3;
C=0.22E-6;
L = 0.1000;
C = 2.2000e-07;
num=[1/(R*C) 0]
den=[1 1/(R*C) 1/(L*C)]
T=tf(num, den)
figure
bodeplot(T)
.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!