summaryrefslogtreecommitdiff
path: root/728/CH6/EX6.7/Ex6_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '728/CH6/EX6.7/Ex6_7.sce')
-rwxr-xr-x728/CH6/EX6.7/Ex6_7.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/728/CH6/EX6.7/Ex6_7.sce b/728/CH6/EX6.7/Ex6_7.sce
new file mode 100755
index 000000000..79ab7d265
--- /dev/null
+++ b/728/CH6/EX6.7/Ex6_7.sce
@@ -0,0 +1,13 @@
+//Caption:Calculate the scattering matrix.
+//Exa:6.7
+clc;
+clear;
+close;
+In_loss=0.5;//in dB
+S_21=10^(-In_loss/20);
+Isolation=30;//in dB
+S_12=10^(-Isolation/20);
+S_11=0;
+S_22=0;
+S=[S_11,S_12;S_21,S_22];
+disp(S,'Scattering matrix ='); \ No newline at end of file