summaryrefslogtreecommitdiff
path: root/1997/CH7/EX7.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1997/CH7/EX7.1
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 '1997/CH7/EX7.1')
-rwxr-xr-x1997/CH7/EX7.1/example1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1997/CH7/EX7.1/example1.sce b/1997/CH7/EX7.1/example1.sce
new file mode 100755
index 000000000..a262d9d1e
--- /dev/null
+++ b/1997/CH7/EX7.1/example1.sce
@@ -0,0 +1,15 @@
+//Chapter-7 example 1
+//=============================================================================
+clc;
+clear;
+//input data
+BW = 0.5*10^9;//bandwidth of pulsed radar in hz
+Tfa = 10;//false alarm time in minutes
+
+//Calculations
+Tfa1 = Tfa*60;//false alarm time in seconds
+Pfa = 1/(BW*Tfa1)
+//Output
+mprintf('probability of false alarm is %g',Pfa);
+
+//=============end of the program==============================================