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 /728/CH6/EX6.9/Ex6_9.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 '728/CH6/EX6.9/Ex6_9.sce')
-rwxr-xr-x | 728/CH6/EX6.9/Ex6_9.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/728/CH6/EX6.9/Ex6_9.sce b/728/CH6/EX6.9/Ex6_9.sce new file mode 100755 index 000000000..05db74208 --- /dev/null +++ b/728/CH6/EX6.9/Ex6_9.sce @@ -0,0 +1,20 @@ +//Caption:Calculate the scattering matrix.
+//Exa:6.9
+clc;
+clear;
+close;
+VSWR=1;
+In_loss=0.5;//in dB
+S_21=10^(-In_loss/20);
+Isolation=20;//in dB
+S_12=10^(-Isolation/20);
+S_23=S_12;
+S_31=S_12;
+S_32=S_21;
+S_13=S_21;
+p=(VSWR-1)/(VSWR+1);
+S_11=p;
+S_22=p;
+S_33=p;
+S=[S_11,S_12,S_13;S_21,S_22,S_23;S_31,S_32,S_33];
+disp(S,'Scattering matrix =');
\ No newline at end of file |