From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2219/CH10/EX10.2/Ex10_2.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 2219/CH10/EX10.2/Ex10_2.sce (limited to '2219/CH10/EX10.2/Ex10_2.sce') diff --git a/2219/CH10/EX10.2/Ex10_2.sce b/2219/CH10/EX10.2/Ex10_2.sce new file mode 100755 index 000000000..20926dec8 --- /dev/null +++ b/2219/CH10/EX10.2/Ex10_2.sce @@ -0,0 +1,24 @@ +// Chapter 10 example 1 +//------------------------------------------------------------------------------ +clc; +clear; +f = 10*10^9; // center freq. in Hz +f_us = 60*10^3; // upsweep freq. in Hz +f_ds = 80*10^3; // down sweep freq. in Hz +fm = 100; // modulation freq. in Hz +B = 2*10^6; // sweep bandwidth in Hz +c = 3*10^8; // vel. of EM waves in m/s +T = 5*10^-3; + +// Calculations +fd = (f_ds - f_us)/2; +df = (f_ds + f_us)/2; +R = (c*T*df)/(2*B); // range in m +// fd = (2*Vr*f)/c +Vr = (c*fd)/(2*f); // target radial velocity +Vr_kmph = Vr*(18/5); // target radial velocity in kmph +Vr_nmph = Vr_kmph/1.85; // target radial velocity in Nautical miles per hour + +// Output +mprintf('Target Range = %3.2f Km\n Radial velocity = %3.1f Nmi/hr',R/1000,Vr_nmph); +//----------------------------------------------------------------------------- -- cgit