diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /605/CH11/EX11.2/11_2.sce | |
download | Scilab-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.2/11_2.sce')
-rwxr-xr-x | 605/CH11/EX11.2/11_2.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/605/CH11/EX11.2/11_2.sce b/605/CH11/EX11.2/11_2.sce new file mode 100755 index 000000000..9bb6319f6 --- /dev/null +++ b/605/CH11/EX11.2/11_2.sce @@ -0,0 +1,19 @@ +
+Zo=50
+S11=0.6*exp(-%i*155*%pi/180)
+S22=0.48*exp(-%i*20*%pi/180)
+S12=0
+S21=6*exp(%i*180*%pi/180)
+Ss11=0.606*exp(%i*155*%pi/180)
+Ss22=0.48*exp(%i*20*%pi/180)
+function x=mod(n)
+ r=real(n)
+ i=imag(n)
+ x=sqrt(r^2+i^2)
+endfunction
+//k=(1-mod(S11)^2-mod(S22)^2+mod(del)^2)/(2*mod(S12*S21))
+del=mod(S11*S22-S12*S21)
+disp(mod(del),"mod(del)=")
+GTUmax=(1-mod(Ss11)^2)*mod(S21)^2/mod((1-mod(S11)^2))^2*(1-mod(Ss22)^2)/mod((1-mod(S22)^2))^2
+disp(GTUmax,"GTUmax=")
+disp(10*log10(GTUmax),"GTUmax in dB=")
\ No newline at end of file |