1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) INRIA -
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
13 <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="en" xml:id="inistate">
15 <refname>inistate</refname>
16 <refpurpose>Estimates the initial state of a discrete-time system</refpurpose>
19 <title>Calling Sequence</title>
20 <synopsis>X0 = inistate(SYS,Y,U,TOL,PRINTW)
21 X0 = inistate(A,B,C,Y,U);
24 [x0,V,rcnd] = inistate(SYS,Y,U,TOL,PRINTW)
28 <title>Arguments</title>
33 <para>given system, syslin(dt,A,B,C,D)</para>
39 <para>the output of the system</para>
45 <para>the input of the system</para>
51 <para>TOL is the tolerance used for estimating the rank of matrices. If TOL > 0, then the given value of TOL is used as a lower bound for the reciprocal condition number.</para>
53 Default: prod(size(matrix))*epsilon_machine where epsilon_machine is the relative machine precision.
60 <para>PRINTW is a switch for printing the warning messages.</para>
65 <para>1: print warning messages;</para>
71 <para>0: do not print warning messages.</para>
83 <para>the estimated initial state vector</para>
89 <para>orthogonal matrix which reduces the system state matrix A to a real Schur form</para>
95 <para>estimate of the reciprocal condition number of the coefficient matrix of the least squares problem solved.</para>
101 <title>Description</title>
103 inistate Estimates the initial state of a discrete-time system, given the
104 (estimated) system matrices, and a set of input/output data.
107 X0 = inistate(SYS,Y,U,TOL,PRINTW) estimates the initial state X0 of
108 the discrete-time system SYS = (A,B,C,D), using the output data Y
109 and the input data U. The model structure is :
111 <programlisting role=""><![CDATA[
112 x(k+1) = Ax(k) + Bu(k), k >= 1,
113 y(k) = Cx(k) + Du(k),
116 The vectors y(k) and u(k) are transposes of the k-th rows of Y and U,
120 Instead of the first input parameter SYS (an syslin object), equivalent
121 information may be specified using matrix parameters, for instance,
122 X0 = inistate(A,B,C,Y,U); or X0 = inistate(A,C,Y);
125 [x0,V,rcnd] = inistate(SYS,Y,U,TOL,PRINTW) returns, besides x0,
126 the orthogonal matrix V which reduces the system state matrix A to
127 a real Schur form, as well as an estimate of the reciprocal condition
128 number of the coefficient matrix of the least squares problem solved.
131 <refsection role="see also">
132 <title>See Also</title>
133 <simplelist type="inline">
135 <link linkend="findBD">findBD</link>
138 <link linkend="findx0BD">findx0BD</link>