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

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

<refentry version="5.0-subset Scilab" xml:id="zp2tf" 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>zp2tf</refname>
    <refpurpose>Converts zeros / poles to a transfer function.</refpurpose>
  </refnamediv>


<refsynopsisdiv>
   <title>Syntax</title>
   <synopsis>
   [num, den] = zp2tf (z, p, k)
   num = zp2tf (z, p, k)
   
   </synopsis>
</refsynopsisdiv>

<refsection>
   <title>Parameters</title>
   <variablelist>
        <varlistentry>
            <term>z:</term>
            <listitem><para> Zeros</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>p:</term>
            <listitem><para> Poles</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>k:</term>
            <listitem><para> Leading coefficient (Gain)</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>Num:</term>
            <listitem><para> Numerator coefficients of the transfer function</para></listitem>
        </varlistentry>
        <varlistentry>
            <term>den:</term>
            <listitem><para> Denomenator coefficients of the transfer function</para></listitem>
        </varlistentry>
   </variablelist>
</refsection>

<refsection>
   <title>Description</title>
   <para>
It converts zeros / poles representation to  transfer function representation.
   </para>
   <para>
</para>
</refsection>

<refsection>
   <title>Examples</title>
   <programlisting role="example"><![CDATA[
z = [1 2 3]
p = [4 5 6]
k = 5
[num, den] = zp2tf (z, p, k)
   ]]></programlisting>
</refsection>
</refentry>
