<?xml version="1.0" encoding="UTF-8"?>

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

<refentry version="5.0-subset Scilab" xml:id="tf2zp" 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>tf2zp</refname>
    <refpurpose>Transfer function to zero pole conversion</refpurpose>
  </refnamediv>


<refsynopsisdiv>
   <title>Syntax</title>
   <synopsis>
   [z,p,k]= tf2zp(b,a);
   
   </synopsis>
</refsynopsisdiv>

<refsection>
   <title>Parameters</title>
   <variablelist>
        <varlistentry>
            <term>z :</term>
            <listitem><para> zeros of the corrsponding tf</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>p :</term>
            <listitem><para> poles of the corresponding tf</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>k :</term>
            <listitem><para> gain of the tf</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>b :</term>
            <listitem><para> vector containing the numerator coefficients of the transfer function in descending powers of s/z</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>a :</term>
            <listitem><para> vector containing the denominator coefficients of the transfer function in descending powers of s/z</para></listitem>
        </varlistentry>
   </variablelist>
</refsection>

<refsection>
   <title>Description</title>
   <para>
For discrete-time transfer functions, it is highly recommended to
make the length of the numerator and denominator equal to ensure
correct results.  You can do this using the function EQTFLENGTH in
the Signal Processing Toolbox.
   </para>
   <para>
</para>
</refsection>

<refsection>
   <title>Authors</title>
   <simplelist type="vert">
   <member>Debdeep Dey</member>
   </simplelist>
</refsection>

<refsection>
   <title>Examples</title>
   <programlisting role="example"><![CDATA[
b = [1 2 3]
a = [4 5 6]
[z p k] = tf2zp(b,a)

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