File: rayleigh.doc

package info (click to toggle)
libitpp 4.3.1-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,952 kB
  • sloc: cpp: 73,628; makefile: 661; python: 548; sh: 261
file content (24 lines) | stat: -rw-r--r-- 811 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*!
\page rayleigh Generating a correlated Rayleigh fading process

In this example we will generate a correlated Rayleigh fading process with a
normaized Doppler frequency equal to 0.1. The normalized Doppler is defined
as the multiplication of the maximum Doppler frequency by the sampling time
(i.e. \f$f_d = F_d T_s\f$).

\include rayleigh.cpp

You can use Matlab or Octave to examine the channel fading process that is
stored int the output file \c rayleigh_test.it. Try the followigh code to
view a part of the fading process:

\code
itload("rayleigh_test.it")
figure(1); clf;
semilogy(abs(ch_coeffs(1:200)))
\endcode

Note: Make sure that the folder <tt>$PREFIX/share/itpp</tt> is included your
Matlab/Octave path variable (\c $PREFIX is the IT++ installation prefix:
<tt>/usr/local</tt> by default).
*/