summaryrefslogtreecommitdiff
path: root/1997/CH11/EX11.42/example42.sce
blob: 98557356d10f48f36c09b3cfe64dca607f02367c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Chapter-11 example 42
//=============================================================================
clc;
clear;
//Given data

PW    = 10^-6;         // Pulse Width in sec
PRF   = 1000;          // Pulse Repetitive Freq in Hz 
Vo    = 3*10^8;        // vel of EM wave m/s;

//Calculations

Rmax  = Vo/(2*PRF);    // max range of radar
Rmin  = (Vo*PW)/2 ;    // min range of radar

//output
mprintf('Maximum Range of radar is %e m\n Minimum Range of radar is %d m',Rmax,Rmin );

//==============================================================================