summaryrefslogtreecommitdiff
path: root/728/CH6/EX6.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /728/CH6/EX6.3
downloadScilab-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.3')
-rwxr-xr-x728/CH6/EX6.3/Ex6_3.sce28
-rwxr-xr-x728/CH6/EX6.3/Ex6_3.txt28
-rwxr-xr-x728/CH6/EX6.3/Ex6_3_ans.txt8
3 files changed, 64 insertions, 0 deletions
diff --git a/728/CH6/EX6.3/Ex6_3.sce b/728/CH6/EX6.3/Ex6_3.sce
new file mode 100755
index 000000000..a3fd44435
--- /dev/null
+++ b/728/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,28 @@
+//Caption:Determine the scattering parameters for 10 dB direction coupler
+//Exa:6.3
+clc;
+clear;
+close;
+D=30;//in dB
+VSWR=1;
+C=10;
+//p1_p4 = p1/p4
+p1_p4=10^(C/-10);
+S_41=sqrt(p1_p4);
+S_14=S_41;//As matched & lossless
+S_31=S_41^2/10^(D/10);
+S_11=(VSWR-1)/(VSWR+1);
+S_22=S_11;
+S_44=S_11;
+S_33=S_11;
+S_21=sqrt(1-0.1-10^-4);
+S_12=S_21;
+S_34=sqrt(1-0.1-10^-4);
+S_43=S_34;
+S_24=sqrt(1-0.1-S_34^2);
+S_42=S_24;
+S_23=S_41;
+S_32=S_23;
+S_13=S_31;
+S=[S_11,S_12,S_13,S_14;S_21,S_22,S_23,S_24;S_31,S_32,S_33,S_34;S_41,S_42,S_43,S_44];
+disp(S,'Required Scattering Parameters are'); \ No newline at end of file
diff --git a/728/CH6/EX6.3/Ex6_3.txt b/728/CH6/EX6.3/Ex6_3.txt
new file mode 100755
index 000000000..a3fd44435
--- /dev/null
+++ b/728/CH6/EX6.3/Ex6_3.txt
@@ -0,0 +1,28 @@
+//Caption:Determine the scattering parameters for 10 dB direction coupler
+//Exa:6.3
+clc;
+clear;
+close;
+D=30;//in dB
+VSWR=1;
+C=10;
+//p1_p4 = p1/p4
+p1_p4=10^(C/-10);
+S_41=sqrt(p1_p4);
+S_14=S_41;//As matched & lossless
+S_31=S_41^2/10^(D/10);
+S_11=(VSWR-1)/(VSWR+1);
+S_22=S_11;
+S_44=S_11;
+S_33=S_11;
+S_21=sqrt(1-0.1-10^-4);
+S_12=S_21;
+S_34=sqrt(1-0.1-10^-4);
+S_43=S_34;
+S_24=sqrt(1-0.1-S_34^2);
+S_42=S_24;
+S_23=S_41;
+S_32=S_23;
+S_13=S_31;
+S=[S_11,S_12,S_13,S_14;S_21,S_22,S_23,S_24;S_31,S_32,S_33,S_34;S_41,S_42,S_43,S_44];
+disp(S,'Required Scattering Parameters are'); \ No newline at end of file
diff --git a/728/CH6/EX6.3/Ex6_3_ans.txt b/728/CH6/EX6.3/Ex6_3_ans.txt
new file mode 100755
index 000000000..e4344812e
--- /dev/null
+++ b/728/CH6/EX6.3/Ex6_3_ans.txt
@@ -0,0 +1,8 @@
+
+ Required Scattering Parameters are
+
+ 0. 0.9486306 0.0001 0.3162278
+ 0.9486306 0. 0.3162278 0.01
+ 0.0001 0.3162278 0. 0.9486306
+ 0.3162278 0.01 0.9486306 0.
+ \ No newline at end of file