diff options
Diffstat (limited to 'help/en_US/scilab_en_US_help/freqz.html')
-rw-r--r-- | help/en_US/scilab_en_US_help/freqz.html | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/help/en_US/scilab_en_US_help/freqz.html b/help/en_US/scilab_en_US_help/freqz.html deleted file mode 100644 index 9e896bf..0000000 --- a/help/en_US/scilab_en_US_help/freqz.html +++ /dev/null @@ -1,92 +0,0 @@ -<html><head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <title>freqz</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="freqs.html"><< freqs</a></span> - - </td> - <td width="40%" class="center"> - <span class="top"><a href="section_e54aa8aac34aa55341e8b4b782fe1a74.html">FOSSEE Signal Processing Toolbox</a></span> - - </td> - <td width="30%" class="next"> - <span class="next"><a href="fwhm.html">fwhm >></a></span> - - </td> - </tr></table> - <hr /> - </div> - - - - <span class="path"><a href="index.html">FOSSEE Signal Processing Toolbox</a> >> <a href="section_e54aa8aac34aa55341e8b4b782fe1a74.html">FOSSEE Signal Processing Toolbox</a> > freqz</span> - - <br /><br /> - <div class="refnamediv"><h1 class="refname">freqz</h1> - <p class="refpurpose">This function returns the complex frequency response H of the rational IIR filter whose numerator and denominator coefficients are B and A, respectively.</p></div> - - -<div class="refsynopsisdiv"><h3 class="title">Calling Sequence</h3> - <div class="synopsis"><pre><span class="default">[</span><span class="default">H</span><span class="default">, </span><span class="default">W</span><span class="default">] = </span><span class="functionid">freqz</span><span class="default">(</span><span class="default">B</span><span class="default">, </span><span class="default">A</span><span class="default">, </span><span class="default">N</span><span class="default">, </span>"<span class="default">whole</span>"<span class="default">)</span> -<span class="default">[</span><span class="default">H</span><span class="default">, </span><span class="default">W</span><span class="default">] = </span><span class="functionid">freqz</span><span class="default">(</span><span class="default">B</span><span class="default">)</span> -<span class="default">[</span><span class="default">H</span><span class="default">, </span><span class="default">W</span><span class="default">] = </span><span class="functionid">freqz</span><span class="default">(</span><span class="default">B</span><span class="default">, </span><span class="default">A</span><span class="default">)</span> -<span class="default">[</span><span class="default">H</span><span class="default">, </span><span class="default">W</span><span class="default">] = </span><span class="functionid">freqz</span><span class="default">(</span><span class="default">B</span><span class="default">, </span><span class="default">A</span><span class="default">, </span><span class="default">N</span><span class="default">)</span> -<span class="default">H</span><span class="default"> = </span><span class="functionid">freqz</span><span class="default">(</span><span class="default">B</span><span class="default">, </span><span class="default">A</span><span class="default">, </span><span class="default">W</span><span class="default">)</span> -<span class="default">[</span><span class="default">H</span><span class="default">, </span><span class="default">W</span><span class="default">] = </span><span class="functionid">freqz</span><span class="default">(..., </span><span class="default">FS</span><span class="default">)</span> -<span class="functionid">freqz</span><span class="default">(...)</span></pre></div></div> - -<div class="refsection"><h3 class="title">Parameters</h3> - <dl><dt><span class="term">B, A, N:</span> - <dd><p class="para">Integer or Vector</p></dd></dt></dl></div> - -<div class="refsection"><h3 class="title">Description</h3> - <p class="para">Return the complex frequency response H of the rational IIR filter whose numerator and denominator coefficients are B and A, respectively.</p> - <p class="para">The response is evaluated at N angular frequencies between 0 and 2*pi.</p> - <p class="para">The output value W is a vector of the frequencies.</p> - <p class="para">If A is omitted, the denominator is assumed to be 1 (this corresponds to a simple FIR filter).</p> - <p class="para">If N is omitted, a value of 512 is assumed. For fastest computation, N should factor into a small number of small primes.</p> - <p class="para">If the fourth argument, "whole", is omitted the response is evaluated at frequencies between 0 and pi.</p> - <p class="para">'freqz (B, A, W)'</p> - <p class="para">Evaluate the response at the specific frequencies in the vector W. The values for W are measured in radians.</p> - <p class="para">'[...] = freqz (..., FS)'</p> - <p class="para">Return frequencies in Hz instead of radians assuming a sampling rate FS. If you are evaluating the response at specific frequencies W, those frequencies should be requested in Hz rather than radians.</p> - <p class="para">'freqz (...)'</p> - <p class="para">Plot the magnitude and phase response of H rather than returning them.</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">H</span> <span class="scilaboperator">=</span> <span class="scilabid">freqz</span><span class="scilabopenclose">(</span><span class="scilabopenclose">[</span><span class="scilabnumber">1</span><span class="scilabdefault">,</span><span class="scilabnumber">2</span><span class="scilabdefault">,</span><span class="scilabnumber">3</span><span class="scilabopenclose">]</span><span class="scilabdefault">,</span> <span class="scilabopenclose">[</span><span class="scilabnumber">4</span><span class="scilabdefault">,</span><span class="scilabnumber">3</span><span class="scilabopenclose">]</span><span class="scilabdefault">,</span> <span class="scilabopenclose">[</span><span class="scilabnumber">1</span><span class="scilabdefault">,</span><span class="scilabnumber">2</span><span class="scilabdefault">,</span><span class="scilabnumber">5</span><span class="scilabopenclose">]</span><span class="scilabopenclose">)</span> -<span class="scilabid">ans</span> <span class="scilaboperator">=</span> -<span class="scilabnumber">0.4164716</span> <span class="scilaboperator">-</span> <span class="scilabnumber">0.5976772</span><span class="scilabid">i</span> <span class="scilaboperator">-</span> <span class="scilabnumber">0.4107690</span> <span class="scilaboperator">-</span> <span class="scilabnumber">0.2430335</span><span class="scilabid">i</span> <span class="scilabnumber">0.1761948</span> <span class="scilaboperator">+</span> <span class="scilabnumber">0.6273032</span><span class="scilabid">i</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="freqs.html"><< freqs</a></span> - - </td> - <td width="40%" class="center"> - <span class="top"><a href="section_e54aa8aac34aa55341e8b4b782fe1a74.html">FOSSEE Signal Processing Toolbox</a></span> - - </td> - <td width="30%" class="next"> - <span class="next"><a href="fwhm.html">fwhm >></a></span> - - </td> - </tr></table> - <hr /> - </div> - </body> -</html> |