summaryrefslogtreecommitdiff
path: root/1997/CH7/EX7.1/example1.sce
blob: a262d9d1ecf336dc4e225f9548c07a493019736a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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==============================================