summaryrefslogtreecommitdiff
path: root/3281/CH3/EX3.4/ex3_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3281/CH3/EX3.4/ex3_4.sce')
-rwxr-xr-x3281/CH3/EX3.4/ex3_4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3281/CH3/EX3.4/ex3_4.sce b/3281/CH3/EX3.4/ex3_4.sce
new file mode 100755
index 000000000..6e65dd25e
--- /dev/null
+++ b/3281/CH3/EX3.4/ex3_4.sce
@@ -0,0 +1,12 @@
+//Page Number: 142
+//Example 3.4
+clc;
+//Given
+
+[z]=[4 2;2 4];
+[I]=[1 0;0 1];
+
+//Scattering matrix
+[s]={[z]-[I]}*inv({[z]+[I]});
+disp([s],'Scattering Matrix:');
+