summaryrefslogtreecommitdiff
path: root/help/en_US/rc2ac.xml
blob: 14627208e4d9cf02571198eb5d1d93b7b1bb05c0 (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
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
<?xml version="1.0" encoding="UTF-8"?>

<!--
 *
 * This help file was generated from rc2ac.sci using help_from_sci().
 *
 -->

<refentry version="5.0-subset Scilab" xml:id="rc2ac" xml:lang="en"
          xmlns="http://docbook.org/ns/docbook"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:svg="http://www.w3.org/2000/svg"
          xmlns:ns3="http://www.w3.org/1999/xhtml"
          xmlns:mml="http://www.w3.org/1998/Math/MathML"
          xmlns:scilab="http://www.scilab.org"
          xmlns:db="http://docbook.org/ns/docbook">

  <refnamediv>
    <refname>rc2ac</refname>
    <refpurpose></refpurpose>
  </refnamediv>


<refsynopsisdiv>
   <title>Calling Sequence</title>
   <synopsis>
   a = rc2ac(k, R0)
   </synopsis>
</refsynopsisdiv>

<refsection>
   <title>Parameters</title>
   <variablelist>
   <varlistentry><term>k:</term>
      <listitem><para>Lattice form reflection coefficients.</para></listitem></varlistentry>
   <varlistentry><term>r0:</term>
      <listitem><para> Initial zero lag autocorrelation.</para></listitem></varlistentry>
   <varlistentry><term>a:</term>
      <listitem><para>Autocorrelation coefficients.</para></listitem></varlistentry>

   </variablelist>
</refsection>

<refsection>
   <title>Description</title>
   <para>
Uses rlevinson to function convert reflection coefficients to autocorrelation sequence.
</para>
<para>
r = rc2ac(k,r0) finds the autocorrelation coefficients, r, of the output of the discrete-time prediction error filter from the lattice-form reflection coefficients k and initial zero-lag autocorrelation r0
</para>
</refsection>

<refsection>
   <title>Examples</title>
   <programlisting role="example"><![CDATA[
k = [0.3090 0.9800 0.0031 0.0082 -0.0082];
r0 = 0.1;
R=rc2ac(k,r0)
//Output:
//R  =
//    0.1
//  - 0.0309
//  - 0.0790948
//    0.0786627
//    0.0293629
//  - 0.0950000

   ]]></programlisting>
</refsection>
</refentry>