summaryrefslogtreecommitdiff
path: root/help/en_US/scilab_en_US_help/lpc.html
diff options
context:
space:
mode:
Diffstat (limited to 'help/en_US/scilab_en_US_help/lpc.html')
-rw-r--r--help/en_US/scilab_en_US_help/lpc.html98
1 files changed, 98 insertions, 0 deletions
diff --git a/help/en_US/scilab_en_US_help/lpc.html b/help/en_US/scilab_en_US_help/lpc.html
new file mode 100644
index 0000000..8e55050
--- /dev/null
+++ b/help/en_US/scilab_en_US_help/lpc.html
@@ -0,0 +1,98 @@
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>lpc</title>
+ <style type="text/css" media="all">
+ @import url("scilab_code.css");
+ @import url("xml_code.css");
+ @import url("c_code.css");
+ @import url("style.css");
+ </style>
+ </head>
+ <body>
+ <div class="manualnavbar">
+ <table width="100%"><tr>
+ <td width="30%">
+ <span class="previous"><a href="levinson.html">&lt;&lt; levinson</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_cc2bc01c47967d47fcf3507a91d572ba.html">FOSSEE Signal Processing Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="lsf2poly.html">lsf2poly &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+
+
+
+ <span class="path"><a href="index.html">FOSSEE Signal Processing Toolbox</a> &gt;&gt; <a href="section_cc2bc01c47967d47fcf3507a91d572ba.html">FOSSEE Signal Processing Toolbox</a> &gt; lpc</span>
+
+ <br /><br />
+ <div class="refnamediv"><h1 class="refname">lpc</h1>
+ <p class="refpurpose">Linear prediction filter coefficients</p></div>
+
+
+<div class="refsynopsisdiv"><h3 class="title">Calling Sequence</h3>
+ <div class="synopsis"><pre><span class="default">[</span><span class="default">a</span><span class="default">,</span><span class="default">g</span><span class="default">] = </span><span class="functionid">lpc</span><span class="default">(</span><span class="default">x</span><span class="default">)</span>
+<span class="default">[</span><span class="default">a</span><span class="default">,</span><span class="default">g</span><span class="default">] = </span><span class="functionid">lpc</span><span class="default">(</span><span class="default">x</span><span class="default">,</span><span class="default">p</span><span class="default">)</span></pre></div></div>
+
+<div class="refsection"><h3 class="title">Description</h3>
+ <p class="para">[a,g] = lpc(x,p)
+Determines the coefficients of a pth order forward linear predictor
+filter by minimizing the squared error. If p is unspecified, a
+default value of length(x)-1 is used.</p>
+ <p class="para"></p></div>
+
+<div class="refsection"><h3 class="title">Parameters</h3>
+ <dl><dt><span class="term">x:</span>
+ <dd><p class="para">double</p></dd></dt>
+ <dt><span class="term">p:</span>
+ <dd><p class="para">int, natural number, scalar</p></dd></dt>
+ <dt><span class="term">a:</span>
+ <dd><p class="para">double</p></dd></dt>
+ <dt><span class="term">g:</span>
+ <dd><p class="para">double</p></dd></dt></dl></div>
+
+<div class="refsection"><h3 class="title">Examples</h3>
+ <div class="programlisting"><table border="0" width="100%"><tr><td width="98%"><pre class="scilabcode"><span class="scilabnumber">1</span><span class="scilabopenclose">)</span>
+<span class="scilabid">noise</span> <span class="scilaboperator">=</span> <span class="scilabid">randn</span><span class="scilabopenclose">(</span><span class="scilabnumber">20000</span><span class="scilabdefault">,</span><span class="scilabnumber">1</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<span class="scilabid">x</span> <span class="scilaboperator">=</span> <a class="scilabmacro" href="scilab://filter">filter</a><span class="scilabopenclose">(</span><span class="scilabnumber">1</span><span class="scilabdefault">,</span><span class="scilabopenclose">[</span><span class="scilabnumber">1</span> <span class="scilabnumber">1</span><span class="scilaboperator">/</span><span class="scilabnumber">5</span> <span class="scilabnumber">1</span><span class="scilaboperator">/</span><span class="scilabnumber">3</span> <span class="scilabnumber">1</span><span class="scilaboperator">/</span><span class="scilabnumber">4</span><span class="scilabopenclose">]</span><span class="scilabdefault">,</span><span class="scilabid">noise</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<span class="scilabid">x</span> <span class="scilaboperator">=</span> <span class="scilabid">x</span><span class="scilabopenclose">(</span><span class="scilabnumber">15904</span><span class="scilabspecial">:</span><span class="scilabnumber">20000</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+<span class="scilabopenclose">[</span><span class="scilabid">a</span><span class="scilabdefault">,</span><span class="scilabid">g</span><span class="scilabopenclose">]</span> <span class="scilaboperator">=</span> <span class="scilabid">lpc</span><span class="scilabopenclose">(</span><span class="scilabid">x</span><span class="scilabdefault">,</span><span class="scilabnumber">3</span><span class="scilabopenclose">)</span><span class="scilabdefault">;</span>
+
+<span class="scilabid">References</span>
+<span class="scilabopenclose">[</span><span class="scilabnumber">1</span><span class="scilabopenclose">]</span> <span class="scilabid">Hayes</span><span class="scilabdefault">,</span> <span class="scilabid">Monson</span> <span class="scilabid">H</span><span class="scilaboperator">.</span> <span class="scilabid">Statistical</span> <span class="scilabid">digital</span> <span class="scilabid">signal</span> <span class="scilabid">processing</span> <a class="scilabcommand" href="scilab://and">and</a> <span class="scilabstring">modeling.</span>
+<span class="scilabid">John</span> <span class="scilabid">Wiley</span> <span class="scilaboperator">&#0038;</span> <span class="scilabid">Sons</span><span class="scilabdefault">,</span> <span class="scilabnumber">2009</span><span class="scilabdefault">,</span> <span class="scilabid">pg</span><span class="scilaboperator">.</span> <span class="scilabnumber">220</span></pre></td><td valign="top"><a href="scilab://scilab.execexample/"><img src="ScilabExecute.png" border="0"/></a></td><td valign="top"><a href="scilab://scilab.editexample/"><img src="ScilabEdit.png" border="0"/></a></td><td></td></tr></table></div></div>
+
+<div class="refsection"><h3 class="title">See also</h3>
+ <ul class="itemizedlist"><li class="member"><a href="aryule.html" class="link">| levinson | prony | pyulear | stmcb</a></li></ul></div>
+
+<div class="refsection"><h3 class="title">Authors</h3>
+ <ul class="itemizedlist"><li class="member">Ayush Baid</li></ul></div>
+ <br />
+
+ <div class="manualnavbar">
+ <table width="100%">
+ <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
+<tr>
+ <td width="30%">
+ <span class="previous"><a href="levinson.html">&lt;&lt; levinson</a></span>
+
+ </td>
+ <td width="40%" class="center">
+ <span class="top"><a href="section_cc2bc01c47967d47fcf3507a91d572ba.html">FOSSEE Signal Processing Toolbox</a></span>
+
+ </td>
+ <td width="30%" class="next">
+ <span class="next"><a href="lsf2poly.html">lsf2poly &gt;&gt;</a></span>
+
+ </td>
+ </tr></table>
+ <hr />
+ </div>
+ </body>
+</html>