summaryrefslogtreecommitdiff
path: root/605/CH11/EX11.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /605/CH11/EX11.5
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 '605/CH11/EX11.5')
-rwxr-xr-x605/CH11/EX11.5/11_5.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/605/CH11/EX11.5/11_5.sce b/605/CH11/EX11.5/11_5.sce
new file mode 100755
index 000000000..49721d6ab
--- /dev/null
+++ b/605/CH11/EX11.5/11_5.sce
@@ -0,0 +1,20 @@
+
+S11=0.75*exp(-%i*120*%pi/180)
+S22=0.6*exp(-%i*70*%pi/180)
+S21=2.5*exp(%i*80*%pi/180)
+function x=mod(n)
+ r=real(n)
+ i=imag(n)
+ x=sqrt(r^2+i^2)
+endfunction
+GSmax=1/(1-mod(S11)^2)
+GLmax=1/(1-mod(S22)^2)
+Go=mod(S21)^2
+disp(GSmax,"GSmax=")
+disp(10*log10(GSmax),"GSmax in dB=")
+disp(GLmax,"GLmax=")
+disp(10*log10(GLmax),"GLmax in dB=")
+disp(Go,"Go=")
+disp(10*log10(Go),"Go in dB=")
+GTUmax=10*log10(GSmax*GLmax*Go)
+disp(GTUmax,"GTUmax=") \ No newline at end of file