summaryrefslogtreecommitdiff
path: root/1979/CH6/EX6.7/Ex6_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1979/CH6/EX6.7/Ex6_7.sce')
-rwxr-xr-x1979/CH6/EX6.7/Ex6_7.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1979/CH6/EX6.7/Ex6_7.sce b/1979/CH6/EX6.7/Ex6_7.sce
new file mode 100755
index 000000000..82ae0dd7a
--- /dev/null
+++ b/1979/CH6/EX6.7/Ex6_7.sce
@@ -0,0 +1,14 @@
+//Chapter-6, Example 6.7, Page 240
+//=============================================================================
+clc;
+//Input parameters
+ins=0.5;//insertion loss in db
+iso=30;//isolation loss in db
+//Calculations
+S21=10^-(ins/20);//insertion loss=0.5=-20*log[S21]
+S12=10^-(iso/20);//isolation loss=30=-20*log[s12]
+S11=0;
+S22=0;
+[S]=[S11,S12;S21,S22];
+disp(S);
+//=================================END OF PROGRAM==============================