* Bug #10175 fixed - Clearer example added for sp2adj to adj2sp conversion (and backwards conversion).
+* Bug #10234 fixed - reglin function moved from CACSD to Statistics module.
+
* Bug #11571 fixed - x_mdialog did not let the Look&Feel select the window size.
* Bug #11680 fixed - GUI functions in Scilab 5.4.X were much slower than in Scilab 5.3.3.
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) INRIA -
- *
+ * Copyright (C) INRIA -
+ *
* This file must be used under the terms of the CeCILL.
* This source file is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
- * are also available at
+ * are also available at
* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
*
-->
<refsection>
<title>Description</title>
<para>
- solve the regression problem y=a*x+ b in the least square sense.
+ solve the regression problem y=a*x+ b in the least square sense.
<literal>sig</literal> is the standard deviation of the residual. <literal>x</literal> and <literal>y</literal>
are two matrices of size <literal>x(p,n)</literal> and <literal>y(q,n)</literal>, where <literal>n</literal>
is the number of samples.
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) INRIA -
- *
+ * Copyright (C) INRIA -
+ *
* This file must be used under the terms of the CeCILL.
* This source file is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
- * are also available at
+ * are also available at
* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
*
-->
</para>
<para>
推定器 <literal>a</literal> は大きさ <literal>(q,p)</literal> の行列,
- <literal>b</literal>は大きさ
+ <literal>b</literal>は大きさ
<literal>(q,1)</literal>のベクトルです.
</para>
- <programlisting role=""><![CDATA[
+ <programlisting role=""><![CDATA[
// simulation of data for a(3,5) and b(3,1)
x=rand(5,100);
aa=testmatrix('magi',5);aa=aa(1:3,:);
bb=[9;10;11]
y=aa*x +bb*ones(1,100)+ 0.1*rand(3,100);
-// identification
+// identification
[a,b,sig]=reglin(x,y);
maxi(abs(aa-a))
maxi(abs(bb-b))
-// an other example : fitting a polynomial
+// an other example : fitting a polynomial
f=1:100; x=[f.*f; f];
y= [ 2,3]*x+ 10*ones(f) + 0.1*rand(f);
[a,b]=reglin(x,y)