License Header change: Removed the LICENSE_END before beta
[scilab.git] / scilab / modules / cacsd / help / en_US / narsimul.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) ENPC - JPC
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="en" xml:id="narsimul">
17     <refnamediv>
18         <refname>narsimul</refname>
19         <refpurpose>armax simulation (using rtitr)   </refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>Calling Sequence</title>
23         <synopsis>[z]=narsimul(a,b,d,sig,u,[up,yp,ep])
24             [z]=narsimul(ar,u,[up,yp,ep])
25         </synopsis>
26     </refsynopsisdiv>
27     <refsection>
28         <title>Description</title>
29         <para>
30             ARMAX simulation. Same as <link linkend="arsimul">arsimul</link> but the method is different
31             the simulation is made with <link linkend="rtitr">rtitr</link>
32         </para>
33     </refsection>
34     
35     <refsection>
36         <title>Examples</title>
37         <programlisting role="example"><![CDATA[
38 a=[1,-2.851,2.717,-0.865].*.eye(2,2)
39 b=[0,1,1,1].*.[1;1];
40 d=[1,0.7,0.2].*.eye(2,2);
41 sig=eye(2,2);
42 ar=armac(a,b,d,2,1,sig)
43 u=rand(1,10,'normal');
44 y=narsimul(ar,u)
45  ]]></programlisting>
46     </refsection>
47 </refentry>