blob: 80d3a9dc2e42c188b96b82788e7d4ff5bd48c94c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
//Chapter-11 example 11
//=============================================================================
clc;
clear;
//input data
F = 2*10^9;//Transmitting Frequency of Radar
Vr = 350;//velocity of sports Car in Kmph
Vo = 3*10^8;//velocity of EM wave in m/s
//Calculations
Va = Vr*(5/18)//velocity of aircraft in m/s
Fd = (2*Va*F)/Vo//Doppler Frequency shift in Hz
//Car moving away from Radar
Fr = F-Fd;//frequency of reflected signal in Hz
//Output
mprintf('Doppler Frequency shift is %g Hz\n frequency of reflected echo is %g Ghz - %g Hz\n',Fd,F/10^9,Fd)
mprintf(' Note: doppler frequency shift wrongly printed in Text Book as 129.6 Hz\n Vr is printed as 9.72 m/s instead of 97.2 m/s');
//=============end of the program==============================================
|