blob: 6d079d4bbb981b1cb4c0a7444bba2d6c030a35c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Example no 5.2
// To find a)time delay width (deltat) b)maximum RF bandwidth
// Page no. 189
clc;
clear all;
// Given data
tN1=100*10^-6; // Excess delays for RF radio channels
tN2=4*10^-6; // Excess delays for microcellular channels
tN3=500*10^-9; // Excess delays for indoor channels
N=64; // Number of multipath bins
// a)To find time delay width (deltat)
deltat1=(tN1/N)*10^6; // Time delay width for RF radio channels
deltat2=(tN2/N)*10^9; // Time delay width for microcellular channels
deltat3=(tN3/N)*10^9; // Time delay width for indoor channels
// Displaying the result in command window
printf('\n The time delay width for RF radio channels = %0.4f microsecond',deltat1);
printf('\n The time delay width for microcellular channels = %0.1f nanosecond',deltat2);
printf('\n The time delay width for indoor channels = %0.4f nanosecond',deltat3);
//b)To find maximum RF bandwidth
bandwidth1=(2/deltat1); //Maximum RF bandwidth for RF radio channels in MHZ
bandwidth2=(2/deltat2)*10^3; //Maximum RF bandwidth for microcellular channels in MHZ
bandwidth3=(2/deltat3)*10^3; //Maximum RF bandwidth for indoor channels in MHZ
//Displaying the result in command window
printf('\n The maximum RF bandwidth for RF radio channels = %0.2f MHz',bandwidth1);
printf('\n The maximum RF bandwidth for microcellular channels = %0.0f MHz',bandwidth2);
printf('\n The maximum RF bandwidth for indoor channels = %0.0f MHz',bandwidth3);
|