This file is indexed.

/usr/share/doc/libitpp-dev/html/rayleigh.html is in libitpp-doc 4.2-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  <title>Welcome to IT++!</title>
  <link href="doxygen.css" rel="stylesheet" type="text/css">
  <link href="tabs.css" rel="stylesheet" type="text/css">
  <link rel="shortcut icon" href="favicon.ico">
</head>
<body>
<div style="width: 100%; height: 40px; background-color: #ffff00; border: 1px solid #b0b0b0; margin: 5px 5px 5px 0; padding: 2px;">
  <a href="http://itpp.sourceforge.net"><img src="itpp_logo.png" alt="IT++ Logo" style="float: left; border: 0;"></a>
</div>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">Generating a correlated Rayleigh fading process </div>  </div>
</div>
<div class="contents">
<div class="textblock"><p>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. <img class="formulaInl" alt="$f_d = F_d T_s$" src="form_295.png"/>).</p>
<div class="fragment"><pre class="fragment"><span class="preprocessor">#include &lt;<a class="code" href="itcomm_8h.html" title="Include file for the IT++ communications module.">itpp/itcomm.h</a>&gt;</span>

<span class="keyword">using namespace </span>itpp;

<span class="keywordtype">int</span> main()
{
  <span class="comment">// Declare my_channel variable as an instance of the Rayleigh_Channel</span>
  <span class="comment">// class</span>
  <a class="code" href="classitpp_1_1TDL__Channel.html" title="Tapped Delay Line (TDL) channel model.">TDL_Channel</a> my_channel;

  <span class="comment">// The normalized Doppler frequency is set to 0.1</span>
  <span class="keywordtype">double</span> norm_dopp = 0.1;
  my_channel.<a class="code" href="classitpp_1_1TDL__Channel.html#a8502b1dd0dfb0d7b438087739ab3b92d" title="Set normalized Doppler rate. A Correlated fading type will be used.">set_norm_doppler</a>(norm_dopp);

  <span class="comment">// Generate nrof_samples of the fading process and store them in ch_coeffs</span>
  <span class="comment">// matrix</span>
  <span class="keywordtype">int</span> nrof_samples = 10000;
  cmat ch_coeffs;
  my_channel.<a class="code" href="classitpp_1_1TDL__Channel.html#ae8892db45e45f63c1fd228baf94b0222" title="Generate no_samples values of the channel.">generate</a>(nrof_samples, ch_coeffs);

  <span class="comment">// Open an output file &quot;rayleigh_test.it&quot;</span>
  <a class="code" href="classitpp_1_1it__file.html" title="The IT++ file format reading and writing class.">it_file</a> ff(<span class="stringliteral">&quot;rayleigh_test.it&quot;</span>);

  <span class="comment">// Save channel coefficients to the output file</span>
  ff &lt;&lt; <a class="code" href="classitpp_1_1Name.html" title="Automatic naming when savingAn easy way to give a variable a name and optionally description when sav...">Name</a>(<span class="stringliteral">&quot;ch_coeffs&quot;</span>) &lt;&lt; ch_coeffs;

  <span class="comment">// Close the output file</span>
  ff.<a class="code" href="classitpp_1_1it__file.html#a6e7217f36b35d6ea866e5fa8148009fa" title="Close the file.">close</a>();

  <span class="comment">// Exit program</span>
  <span class="keywordflow">return</span> 0;
}
</pre></div><p>You can use Matlab or Octave to examine the channel fading process that is stored int the output file <code>rayleigh_test.it</code>. Try the followigh code to view a part of the fading process:</p>
<div class="fragment"><pre class="fragment">itload(<span class="stringliteral">&quot;rayleigh_test.it&quot;</span>)
figure(1); clf;
semilogy(<a class="code" href="classitpp_1_1bin.html#aeef4249965bf7e458f1b509fad5d1486" title="absolute value of bin">abs</a>(ch_coeffs(1:200)))
</pre></div><p>Note: Make sure that the folder <code>$PREFIX/share/itpp</code> is included your Matlab/Octave path variable (<code>$PREFIX</code> is the IT++ installation prefix: <code>/usr/local</code> by default). </p>
</div></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div style="clear: both; width: 100%; height: 31px; background-color: #ffff00; border: 1px solid #b0b0b0; margin: 5px 5px 5px 0; padding: 2px;">
  <a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=37044&amp;type=1" alt="SourceForge Logo" style="float: right; border: 0;"></a>
  <p style="padding-left: 10px; font-size: 85%;">Generated on Wed Jul 27 2011 16:27:06 for IT++ by <a href="http://www.doxygen.org/index.html">Doxygen</a> 1.7.4</p>
</div>
</body>
</html>