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 /1979/CH6/EX6.9 | |
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 '1979/CH6/EX6.9')
-rwxr-xr-x | 1979/CH6/EX6.9/Ex6_9.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/1979/CH6/EX6.9/Ex6_9.sce b/1979/CH6/EX6.9/Ex6_9.sce new file mode 100755 index 000000000..60d0aba7a --- /dev/null +++ b/1979/CH6/EX6.9/Ex6_9.sce @@ -0,0 +1,25 @@ +//Chapter-6, Example 6.9, Page 241
+//=============================================================================
+clc;
+//Input parameters
+ins=0.5;//insertion loss in db
+iso=20;//isolation loss in db
+S=2;//VSWR
+//Calculations
+S21=10^-(ins/20);//insertion loss=0.5=-20*log[S21]
+S13=S21;
+S32=S13;
+S12=10^-(iso/20);//isolation loss=30=-20*log[s12]
+S23=S12;
+S31=S23;
+p=(S-1)/(S+1);
+S11=p;
+S22=p;
+S33=p;
+[S]=[S11,S12,S13;S21,S22,S23;S31,S32,S33];
+disp(S);
+//for a perfectly matched,non-reciprocal,lossless 3-port circulator,[S] is given by
+//[S]=[0,0,S13;S21,0,0;,0,S32,0]
+//i.e.,S13=S21=S32=1
+//[S]=[0,0,1;1,0,0;0,1,0]
+//=================================END OF PROGRAM==============================
|