blob: f524c49ab512b663620607c6804c72079dd03d62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
L=209.4*10^-9; //line inductance in H/m
C=119.5*10^-12; //line capacitance in F/m
vp=1/sqrt(L*C); // phase velocity
Z0=sqrt(L/C); // characteristic line impedance
d=0.1; // line length
N=500; // number of sampling points
f=1*10^9+3*10^9*(0:N)/N; // set frequency range
Z=tan(2*%pi*f*d/vp); // short circuit impedance
plot(f/1*10^9,abs(Z0*Z));
title('Input impedance of a short-circuited transmission line');
xlabel("Frequency,GHz");
ylabel("Input impedance,|Z");
|