summaryrefslogtreecommitdiff
path: root/2219/CH10/EX10.12/Ex10_12.sce
blob: 8cce3c3d115174a4de822762f9e204497747f3d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Chapter 10 example 12
//------------------------------------------------------------------------------
clc;
clear;
//Given data
Ra      = 25;       // Apparent Range in km
PRF     = 2000;     // Pulse rep. freq.
c       = 3*10^5;   // vel. of EM waves in km/s
Nr      = 3;        // Range zone

// Calculations
R       = Ra + ((c/2)*((Nr - 1)/PRF))    // true range in km

// Output
mprintf('True Range of the target = %d Km',R);
//------------------------------------------------------------------------------