1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) INRIA -
5 *
6 * Copyright (C) 2012 - 2016 - Scilab Enterprises
7 *
8 * This file is hereby licensed under the terms of the GNU GPL v2.0,
9 * pursuant to article 5.3.4 of the CeCILL v.2.1.
10 * This file was originally licensed under the terms of the CeCILL v2.1,
11 * and continues to be available under such terms.
12 * For more information, see the COPYING file which you should have received
13 * along with this program.
14 *
15 -->
16<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="abcd">
17    <refnamediv>
18        <refname>abcd</refname>
19        <refpurpose>状態空間行列</refpurpose>
20    </refnamediv>
21    <refsynopsisdiv>
22        <title>呼び出しの手順</title>
23        <synopsis>[A,B,C,D]=abcd(sl)</synopsis>
24    </refsynopsisdiv>
25    <refsection>
26        <title>パラメータ</title>
27        <variablelist>
28            <varlistentry>
29                <term>sl</term>
30                <listitem>
31                    <para>状態空間表現または伝達関数表現の
32                        線形システム (<literal>syslin</literal> リスト)
33                    </para>
34                </listitem>
35            </varlistentry>
36            <varlistentry>
37                <term>A,B,C,D</term>
38                <listitem>
39                    <para>適当な次元の実数行列</para>
40                </listitem>
41            </varlistentry>
42        </variablelist>
43    </refsection>
44    <refsection>
45        <title>説明</title>
46        <para>
47            線形システム<literal>Sl</literal>の<literal>A,B,C,D</literal> 行列を返す.
48        </para>
49        <para>
50            ユーティリティ関数.伝達関数行列<literal>Sl</literal>の場合、
51            <literal>tf2ss</literal>により状態空間表現に変換される.
52        </para>
53        <para>
54            行列 <literal>A,B,C,D</literal> は<literal>syslin</literal>リスト
55            <literal>Sl</literal>の <literal>2</literal> から <literal>5</literal>
56            までの要素、すなわち、<literal>[A,B,C,D] = Sl(2:5)</literal>、である.
57        </para>
58    </refsection>
59    <refsection>
60        <title>例</title>
61        <programlisting role="example"><![CDATA[
62A=diag([1,2,3]);B=[1;1;1];C=[2,2,2];
63sys=syslin('c',A,B,C);
64sys("A")
65sys("C")
66[A1,B1,C1,D1]=abcd(sys);
67A1
68systf=ss2tf(sys);
69[a,b,c,d]=abcd(systf)
70spec(a)
71c*b-C*B
72c*a*b-C*A*B
73 ]]></programlisting>
74    </refsection>
75    <refsection role="see also">
76        <title>参照</title>
77        <simplelist type="inline">
78            <member>
79                <link linkend="syslin">syslin</link>
80            </member>
81            <member>
82                <link linkend="ssrand">ssrand</link>
83            </member>
84        </simplelist>
85    </refsection>
86</refentry>
87