<?xml version="1.0" encoding="UTF-8"?>
<!--
 * Scilab ( https://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) INRIA -
 *
 * Copyright (C) 2012 - 2016 - Scilab Enterprises
 *
 * This file is hereby licensed under the terms of the GNU GPL v2.0,
 * pursuant to article 5.3.4 of the CeCILL v.2.1.
 * This file was originally licensed under the terms of the CeCILL v2.1,
 * and continues to be available under such terms.
 * For more information, see the COPYING file which you should have received
 * along with this program.
 *
 -->
<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" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="tf2des">
    <refnamediv>
        <refname>tf2des</refname>
        <refpurpose>伝達関数をディスクリプタ形式に変換</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>呼び出し手順</title>
        <synopsis>S=tf2des(G)
            S=tf2des(G,flag)
        </synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>パラメータ</title>
        <variablelist>
            <varlistentry>
                <term>G</term>
                <listitem>
                    <para>
                        線形システム (<literal>syslin</literal> リスト), 多項式行列 <literal>D</literal> が指定される場合もある
                    </para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>flag</term>
                <listitem>
                    <para>
                        文字列 <literal>"withD"</literal>
                    </para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>S</term>
                <listitem>
                    <para>リスト</para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>説明</title>
        <para>
            伝達関数をディスクリプタ形式: <literal>S=list('d',A,B,C,D,E)</literal>に変換します.
        </para>
        <programlisting role=""><![CDATA[
E*xdot = A*x+B*u
y = C*x + D*u
 ]]></programlisting>
        <para>
            オプションのパラメータ flag=<literal>"withD"</literal> が指定されない場合,
            <literal>D=0</literal> となることに注意してください.
            指定された場合, 最大ランク行列 <literal>D</literal> がリスト <literal>S</literal>
            の5番目のエントリとして返されます.
        </para>
    </refsection>
    <refsection>
        <title>例</title>
        <programlisting role="example"><![CDATA[
s=poly(0,'s');
G=[1/(s-1),s;1,2/s^3];
S1=tf2des(G);des2tf(S1)
S2=tf2des(G,"withD");des2tf(S2)
 ]]></programlisting>
    </refsection>
    <refsection role="see also">
        <title>参照</title>
        <simplelist type="inline">
            <member>
                <link linkend="pol2des">pol2des</link>
            </member>
            <member>
                <link linkend="tf2ss">tf2ss</link>
            </member>
            <member>
                <link linkend="ss2des">ss2des</link>
            </member>
            <member>
                <link linkend="des2tf">des2tf</link>
            </member>
        </simplelist>
    </refsection>
</refentry>
