* Bug #11670 to 11676 fixed - Add examples in the signal processing help pages.
[scilab.git] / scilab / modules / signal_processing / help / en_US / zpbutt.xml
index fc763c2..e36640d 100644 (file)
@@ -1,48 +1,57 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="zpbutt">
-  <refnamediv>
-    <refname>zpbutt</refname>
-    <refpurpose> Butterworth analog filter</refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <title>Calling Sequence</title>
-    <synopsis>[pols,gain]=zpbutt(n,omegac)</synopsis>
-  </refsynopsisdiv>
-  <refsection>
-    <title>Arguments</title>
-    <variablelist>
-      <varlistentry>
-        <term>n</term>
-        <listitem>
-          <para>integer (filter order)</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>omegac</term>
-        <listitem>
-          <para>real (cut-off frequency in Hertz)</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>pols</term>
-        <listitem>
-          <para>resulting poles of filter</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>gain</term>
-        <listitem>
-          <para>resulting gain of filter</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refsection>
-  <refsection>
-    <title>Description</title>
-    <para>
-      computes the poles of a Butterworth analog
-      filter of order <literal>n</literal> and cutoff frequency omegac
-      transfer function H(s) is calculated by <literal>H(s)=gain/real(poly(pols,'s'))</literal>
-    </para>
-  </refsection>
+    <refnamediv>
+        <refname>zpbutt</refname>
+        <refpurpose> Butterworth analog filter</refpurpose>
+    </refnamediv>
+    <refsynopsisdiv>
+        <title>Calling Sequence</title>
+        <synopsis>[pols,gain]=zpbutt(n,omegac)</synopsis>
+    </refsynopsisdiv>
+    <refsection>
+        <title>Arguments</title>
+        <variablelist>
+            <varlistentry>
+                <term>n</term>
+                <listitem>
+                    <para>integer (filter order)</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>omegac</term>
+                <listitem>
+                    <para>real (cut-off frequency in Hertz)</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>pols</term>
+                <listitem>
+                    <para>resulting poles of filter</para>
+                </listitem>
+            </varlistentry>
+            <varlistentry>
+                <term>gain</term>
+                <listitem>
+                    <para>resulting gain of filter</para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsection>
+    <refsection>
+        <title>Description</title>
+        <para>
+            computes the poles of a Butterworth analog
+            filter of order <literal>n</literal> and cutoff frequency omegac
+            transfer function H(s) is calculated by <literal>H(s)=gain/real(poly(pols,'s'))</literal>
+        </para>
+    </refsection>
+    <refsection>
+        <title>Examples</title>
+        <programlisting role="example"><![CDATA[ 
+n=7;
+omegac=3;
+[pols,gain]=zpbutt(n,omegac)
+ ]]></programlisting>
+    </refsection>
+    
 </refentry>