diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /339/CH2/EX2.6/ex2_6.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '339/CH2/EX2.6/ex2_6.sce')
-rwxr-xr-x | 339/CH2/EX2.6/ex2_6.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/339/CH2/EX2.6/ex2_6.sce b/339/CH2/EX2.6/ex2_6.sce new file mode 100755 index 000000000..f524c49ab --- /dev/null +++ b/339/CH2/EX2.6/ex2_6.sce @@ -0,0 +1,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");
\ No newline at end of file |