summaryrefslogtreecommitdiff
path: root/1997/CH1/EX1.5/example5.sce
blob: 0c64cc84006157d4871d51d05b171c289885c619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Chapter-1, Example 1.5, Page 36
//=============================================================================
clc;
clear;

//INPUT DATA
F= 6*10^9;  //frequency in Hz
Vo = 3*10^8;//velocity in m/s;
Vr = 200;//Radial velocity in kmph

//Calculations

lamda = Vo/F;//wavelength = vel/freq;
Fd    = (2*Vr/lamda)*(5/18);//doppler frequency in Hz;
//5/18 is multiplied to convert kmph to m/s

//Output
mprintf('Doppler Frequency is %3.2f KHz',Fd/1000);