1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) ENPC - JPC
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="armax1">
15 <refname>armax1</refname>
16 <refpurpose>armax identification</refpurpose>
19 <title>Calling Sequence</title>
20 <synopsis>[arc,resid]=armax1(r,s,q,y,u [,b0f])</synopsis>
23 <title>Arguments</title>
28 <para>output signal</para>
34 <para>input signal</para>
40 <para>auto regression orders with r >=0, s >=-1.</para>
46 <para>optional parameter. Its default value is 0 and it
47 means that the coefficient b0 must be identified. if bof=1
48 the b0 is supposed to be zero and is not identified
55 <para>is tlist with type "ar" and fields a, b, d, ny, nu, sig</para>
61 is the vector <literal>[1,a1,...,a_r]</literal>
69 is the vector <literal>[b0,......,b_s]</literal>
77 is the vector <literal>[1,d1,....,d_q]</literal>
84 <para> resid=[ sig*echap(1),....,];</para>
93 <title>Description</title>
95 armax1 is used to identify the coefficients of a 1-dimensional
98 <programlisting role=""><![CDATA[
99 A(z^-1)y= B(z^-1)u + D(z^-1)sig*e(t)
100 e(t) is a 1-dimensional white noise with variance 1.
101 A(z)= 1+a1*z+...+a_r*z^r; ( r=0 => A(z)=1)
102 B(z)= b0+b1*z+...+b_s z^s ( s=-1 => B(z)=0)
103 D(z)= 1+d1*z+...+d_q*z^q ( q=0 => D(z)=1)
106 for the method, see Eykhoff in trends and progress in system
107 identification) page 96. with
109 <programlisting role=""><![CDATA[
110 z(t)=[y(t-1),..,y(t-r),u(t),...,
111 u(t-s),e(t-1),...,e(t-q)]
116 <programlisting role=""><![CDATA[
117 coef= [-a1,..,-ar,b0,...,b_s,d1,...,d_q]'
118 y(t)= coef'* z(t) + sig*e(t).
121 a sequential version of the AR estimation where e(t-i) is replaced
122 by an estimated value is used (RLLS). With q=0 this method is exactly
123 a sequential version of armax
127 <title>Important notice</title>
128 <para>In Scilab versions up to 4.1.2 the returned value in
129 <literal>arc.sig</literal> is the square of <literal>sig</literal>
130 square. To be conform with the help, the display of arma models
131 and the armax function, starting from Scilab-5.0 version the
132 returned <literal>arc.sig</literal> is <literal>sig</literal>.