blob: bd254cc3015b1563e9189ac60cfbc2fc11b07b20 (
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
|
// Example no 5.7
// To compute the positive-going lvel crossing rate and maximum velocity of mobile
// Page no. 224
clc;
clear all;
// Given data
rho=1; // Value of normalized level of fading amplitude to rms amplitude
fm=20; // Maximum Doppler frequency in Hz
fc=900*10^6; // Carrier frequency in Hz
c=3*10^8; // Speed of ligth in air in m/s
// The positive-going level crossing rate
NR=sqrt(2*%pi)*fm*rho*exp(-rho^2); // Number of zero level crossings per second
lambda=c/fc; // Carrier wavelength
// The maximum velocity of mobile
v=fm*lambda; // Maximum velocity of mobile in m/s
v=v*(18/5); // Maximum velocity of mobile in km/hr
// Displaying the result in command window
printf('\n The positive-going level crossing rate = %0.2f crossings per second',NR);
printf('\n The maximum velocity of mobile = %0.0f Km/Hr',v);
|