diff options
Diffstat (limited to 'help/en_US/scilab_en_US_help/sgolay.html')
-rw-r--r-- | help/en_US/scilab_en_US_help/sgolay.html | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/help/en_US/scilab_en_US_help/sgolay.html b/help/en_US/scilab_en_US_help/sgolay.html new file mode 100644 index 0000000..573e21a --- /dev/null +++ b/help/en_US/scilab_en_US_help/sgolay.html @@ -0,0 +1,87 @@ +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>sgolay</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="seqperiod.html"><< seqperiod</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_be19baaac84b122b8ad501d34462f5bf.html">FOSSEE Signal Processing Toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="sgolayfilt.html">sgolayfilt >></a></span> + + </td> + </tr></table> + <hr /> + </div> + + + + <span class="path"><a href="index.html">FOSSEE Signal Processing Toolbox</a> >> <a href="section_be19baaac84b122b8ad501d34462f5bf.html">FOSSEE Signal Processing Toolbox</a> > sgolay</span> + + <br /><br /> + <div class="refnamediv"><h1 class="refname">sgolay</h1> + <p class="refpurpose">This function computes the filter coefficients for all Savitzsky-Golay smoothing filters.</p></div> + + +<div class="refsynopsisdiv"><h3 class="title">Calling Sequence</h3> + <div class="synopsis"><pre><span class="default">F</span><span class="default"> = </span><span class="functionid">sgolay</span><span class="default"> (</span><span class="default">p</span><span class="default">, </span><span class="default">n</span><span class="default">)</span> +<span class="default">F</span><span class="default"> = </span><span class="functionid">sgolay</span><span class="default"> (</span><span class="default">p</span><span class="default">, </span><span class="default">n</span><span class="default">, </span><span class="default">m</span><span class="default">)</span> +<span class="default">F</span><span class="default"> = </span><span class="functionid">sgolay</span><span class="default"> (</span><span class="default">p</span><span class="default">, </span><span class="default">n</span><span class="default">, </span><span class="default">m</span><span class="default">, </span><span class="default">ts</span><span class="default">)</span></pre></div></div> + +<div class="refsection"><h3 class="title">Parameters</h3> + <dl><dt><span class="term">p:</span> + <dd><p class="para">polynomial</p></dd></dt> + <dt><span class="term">n:</span> + <dd><p class="para">odd integer value, larger than polynomial p</p></dd></dt> + <dt><span class="term">m:</span> + <dd><p class="para">positive integer less than 2^31 or logical</p></dd></dt> + <dt><span class="term">ts:</span> + <dd><p class="para">real or complex value</p></dd></dt></dl></div> + +<div class="refsection"><h3 class="title">Description</h3> + <p class="para">This is an Octave function. +This function computes the filter coefficients for all Savitzsky-Golay smoothing filters of order p for length n (odd). +m can be used in order to get directly the mth derivative; ts is a scaling factor.</p></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="scilabid">y</span> <span class="scilaboperator">=</span> <span class="scilabid">sgolay</span><span class="scilabopenclose">(</span><span class="scilabnumber">1</span><span class="scilabdefault">,</span><span class="scilabnumber">3</span><span class="scilabdefault">,</span><span class="scilabnumber">0</span><span class="scilabopenclose">)</span> +<span class="scilabid">y</span> <span class="scilaboperator">=</span> +<span class="scilabnumber">0.83333</span> <span class="scilabnumber">0.33333</span> <span class="scilaboperator">-</span><span class="scilabnumber">0.16667</span> +<span class="scilabnumber">0.33333</span> <span class="scilabnumber">0.33333</span> <span class="scilabnumber">0.33333</span> +<span class="scilaboperator">-</span><span class="scilabnumber">0.16667</span> <span class="scilabnumber">0.33333</span> <span class="scilabnumber">0.83333</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> + <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="seqperiod.html"><< seqperiod</a></span> + + </td> + <td width="40%" class="center"> + <span class="top"><a href="section_be19baaac84b122b8ad501d34462f5bf.html">FOSSEE Signal Processing Toolbox</a></span> + + </td> + <td width="30%" class="next"> + <span class="next"><a href="sgolayfilt.html">sgolayfilt >></a></span> + + </td> + </tr></table> + <hr /> + </div> + </body> +</html> |