summaryrefslogtreecommitdiff
path: root/803/CH5/EX5.4/ex5_4.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /803/CH5/EX5.4/ex5_4.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '803/CH5/EX5.4/ex5_4.sce')
-rw-r--r--803/CH5/EX5.4/ex5_4.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/803/CH5/EX5.4/ex5_4.sce b/803/CH5/EX5.4/ex5_4.sce
new file mode 100644
index 000000000..f9ec4d371
--- /dev/null
+++ b/803/CH5/EX5.4/ex5_4.sce
@@ -0,0 +1,22 @@
+clc
+Ts=1;
+n=3;
+Pd=0.9;..//detection probability
+Gt=10^5;..//transmitter gain
+k=1.38*10^-23;..//boltzmann constant
+tau=10^-6;
+To=305.8;
+Ae=8;
+Pfa=10^-6;..//probability of false alarm
+Pt=10^5;..//transmitter power
+F=1;..//noise factor
+sigma=3.2;
+Bn=1/tau;..//bandwidth
+pi=3.14;
+Fn=3.162;
+e=2.72;
+Ltot=67.608;
+alpha=0.75*(1+0.667*e^(-n/3));
+SNR=(alpha*log10(log(2)/Pfa)/n^(0.667)*(log10(1/Pd))^0.667);
+R=(tau*Pt*Gt*Ae*sigma*F^4/(4*%pi)^2*k*To*Bn*Fn*SNR*Ltot)^0.25;
+disp("m",R,"Maximum Range");