diff options
author | Vincent COUVERT <vincent.couvert@scilab.org> | 2010-03-19 16:36:30 +0100 |
---|---|---|
committer | Vincent COUVERT <vincent.couvert@scilab.org> | 2010-03-19 16:36:30 +0100 |
commit | 914f7fcf9b0e3c7d33dba2a8d99b6541d2642b3c (patch) | |
tree | c81be862c1e49833acb6f16b9316106e38e232be /scilab_doc | |
parent | bd3211bd35ca97873b45d7155d673fe71ac0f838 (diff) | |
download | scilab-914f7fcf9b0e3c7d33dba2a8d99b6541d2642b3c.zip scilab-914f7fcf9b0e3c7d33dba2a8d99b6541d2642b3c.tar.gz |
Integrate Matlab-Scilab equivalents documentation to Scilab documentation
Diffstat (limited to 'scilab_doc')
325 files changed, 0 insertions, 16927 deletions
diff --git a/scilab_doc/Matlab_Scilab_dictionary/CHAPTER b/scilab_doc/Matlab_Scilab_dictionary/CHAPTER deleted file mode 100644 index 3ad3a83..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/CHAPTER +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | title = Matlab-Scilab equivalents | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/CHAPTER b/scilab_doc/Matlab_Scilab_dictionary/a/CHAPTER deleted file mode 100644 index 3a97e71..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/CHAPTER +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | title = A | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/abs.xml b/scilab_doc/Matlab_Scilab_dictionary/a/abs.xml deleted file mode 100644 index 3ac39ff..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/abs.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_abs"> | ||
14 | <refnamediv> | ||
15 | <refname>abs</refname> | ||
16 | <refpurpose>(Matlab function) Absolute value and complex magnitude</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | abs | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | abs | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/acos.xml b/scilab_doc/Matlab_Scilab_dictionary/a/acos.xml deleted file mode 100644 index 5b83604..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/acos.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_acos"> | ||
14 | <refnamediv> | ||
15 | <refname>acos</refname> | ||
16 | <refpurpose>(Matlab function) Inverse cosine</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | acos | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | acos | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/acosh.xml b/scilab_doc/Matlab_Scilab_dictionary/a/acosh.xml deleted file mode 100644 index be5e070..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/acosh.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_acosh"> | ||
14 | <refnamediv> | ||
15 | <refname>acosh</refname> | ||
16 | <refpurpose>(Matlab function) Inverse hyperbolic cosine</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | acosh | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | acosh | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/acot.xml b/scilab_doc/Matlab_Scilab_dictionary/a/acot.xml deleted file mode 100644 index c5ba568..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/acot.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_acot"> | ||
14 | <refnamediv> | ||
15 | <refname>acot</refname> | ||
16 | <refpurpose>(Matlab function) Inverse cotangent</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | acot(A) | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | atan((1) ./A) | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/acoth.xml b/scilab_doc/Matlab_Scilab_dictionary/a/acoth.xml deleted file mode 100644 index 17dae28..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/acoth.xml +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_acoth"> | ||
14 | <refnamediv> | ||
15 | <refname>acoth</refname> | ||
16 | <refpurpose>(Matlab function) Inverse hyperbolic cotangent</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | acoth(A) | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | atanh((1) ./A) | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para>In Matlab <emphasis role="bold">y=acoth(x)</emphasis> and Scilab <emphasis role="bold">y=atanh(1 ./x)</emphasis>, for real elements of <emphasis role="bold">x</emphasis> outside the domain <emphasis role="bold">[-1,1]</emphasis>, the complex part of Scilab <emphasis role="bold">y</emphasis> value is the opposite of Matlab <emphasis role="bold">y</emphasis> value. See <emphasis role="bold">atanh</emphasis>.</para> | ||
48 | </refsection> | ||
49 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/acsc.xml b/scilab_doc/Matlab_Scilab_dictionary/a/acsc.xml deleted file mode 100644 index b5951b9..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/acsc.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_acsc"> | ||
14 | <refnamediv> | ||
15 | <refname>acsc</refname> | ||
16 | <refpurpose>(Matlab function) Inverse cosecant</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | acsc(A) | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | asin((1) ./A) | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/acsch.xml b/scilab_doc/Matlab_Scilab_dictionary/a/acsch.xml deleted file mode 100644 index 4ef91fd..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/acsch.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_acsch"> | ||
14 | <refnamediv> | ||
15 | <refname>acsch</refname> | ||
16 | <refpurpose>(Matlab function) Inverse hyperbolic cosecant</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | acsch(A) | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | asinh((1) ./A) | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/all.xml b/scilab_doc/Matlab_Scilab_dictionary/a/all.xml deleted file mode 100644 index 1b13a56..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/all.xml +++ /dev/null | |||
@@ -1,100 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_all"> | ||
14 | <refnamediv> | ||
15 | <refname>all</refname> | ||
16 | <refpurpose>(Matlab function) Test to determine if all elements are nonzero</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | all | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | and | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Matlab <emphasis role="bold">all</emphasis> function can work with complexes, what Scilab <emphasis role="bold">and</emphasis> can not, so a call to <emphasis role="bold">abs</emphasis> function can be necessary when translating from Matlab to Scilab. | ||
49 | </para> | ||
50 | <variablelist> | ||
51 | <varlistentry> | ||
52 | <term>The Matlab expression <emphasis role="bold">B=all(A)</emphasis> is translated into Scilab by <emphasis role="bold">B=and(A)</emphasis>:</term> | ||
53 | <listitem> | ||
54 | <para> | ||
55 | If <emphasis role="bold">A</emphasis> is a matrix, <emphasis role="bold">all(A)</emphasis> is equivalent to <emphasis role="bold">all(A,1)</emphasis> in Matlab whereas in Scilab <emphasis role="bold">and(A)</emphasis> is a logical AND of all elements of <emphasis role="bold">A</emphasis>. If <emphasis role="bold">A</emphasis> is a multidimensional array then Matlab treats the values along the first non-singleton dimension, but Scilab returns logical AND of all elements of <emphasis role="bold">A</emphasis>. | ||
56 | </para> | ||
57 | </listitem> | ||
58 | </varlistentry> | ||
59 | <varlistentry> | ||
60 | <term>The Matlab expression <emphasis role="strong">B=all(A,dim)</emphasis> is translated into Scilab by <emphasis role="strong">B=and(A,dim)</emphasis>:</term> | ||
61 | <listitem> | ||
62 | <para> | ||
63 | In Scilab <emphasis role="bold">dim=1</emphasis> is equivalent to <emphasis role="bold">dim="r"</emphasis> and <emphasis role="bold">dim=2</emphasis> is equivalent to <emphasis role="bold">dim="c"</emphasis>. In Matlab, <emphasis role="bold">dim</emphasis> can be greater then the number of dimension of <emphasis role="bold">A</emphasis> (in this case, <emphasis role="bold">B=A</emphasis>), in Scilab you will get an error message. | ||
64 | </para> | ||
65 | </listitem> | ||
66 | </varlistentry> | ||
67 | </variablelist> | ||
68 | </refsection> | ||
69 | <refsection> | ||
70 | <title>Examples</title> | ||
71 | <informaltable border="1" pgwide="1"> | ||
72 | <tr> | ||
73 | <td align="center"> | ||
74 | <emphasis role="bold">Matlab</emphasis> | ||
75 | </td> | ||
76 | <td align="center"> | ||
77 | <emphasis role="bold">Scilab</emphasis> | ||
78 | </td> | ||
79 | </tr> | ||
80 | <tr> | ||
81 | <td> | ||
82 | <programlisting role="example"><![CDATA[ | ||
83 | y = all([1,1,0;1,0,1]) | ||
84 | y = [1,0,0] | ||
85 | y = all([1,1,0;1,0,1],1) | ||
86 | y = [1,0,0] | ||
87 | ]]></programlisting> | ||
88 | </td> | ||
89 | <td> | ||
90 | <programlisting role="example"><![CDATA[ | ||
91 | y = and([1,1,0;1,0,1]) | ||
92 | y = %F | ||
93 | y = and([1,1,0;1,0,1],1) | ||
94 | y = [%T,%F,%F] | ||
95 | ]]></programlisting> | ||
96 | </td> | ||
97 | </tr> | ||
98 | </informaltable> | ||
99 | </refsection> | ||
100 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/angle.xml b/scilab_doc/Matlab_Scilab_dictionary/a/angle.xml deleted file mode 100644 index 531335d..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/angle.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_angle"> | ||
14 | <refnamediv> | ||
15 | <refname>angle</refname> | ||
16 | <refpurpose>(Matlab function) Phase angle</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | angle(A) | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | atan(imag(A),real(A)) | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/any.xml b/scilab_doc/Matlab_Scilab_dictionary/a/any.xml deleted file mode 100644 index 9f10551..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/any.xml +++ /dev/null | |||
@@ -1,100 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_any"> | ||
14 | <refnamediv> | ||
15 | <refname>any</refname> | ||
16 | <refpurpose>(Matlab function) Test to determine if any nonzeros elements</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | any | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | or | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Matlab <emphasis role="bold">any</emphasis> function can work with complexes, what Scilab <emphasis role="bold">or</emphasis> can not, so a call to <emphasis role="bold">abs</emphasis> function can be necessary when translating from Matlab to Scilab. | ||
49 | </para> | ||
50 | <variablelist> | ||
51 | <varlistentry> | ||
52 | <term>Matlab expression <emphasis role="bold">B=any(A)</emphasis> translated into Scilab by <emphasis role="bold">B=or(A)</emphasis>:</term> | ||
53 | <listitem> | ||
54 | <para> | ||
55 | If <emphasis role="bold">A</emphasis> is a matrix, <emphasis role="bold">any(A)</emphasis> is equivalent to <emphasis role="bold">any(A,1)</emphasis> in Matlab whereas in Scilab <emphasis role="bold">or(A)</emphasis> is a logical OR of all elements of <emphasis role="bold">A</emphasis>. If <emphasis role="bold">A</emphasis> is a multidimensional array then Matlab treats the values along the first non-singleton dimension, but Scilab returns logical OR of all elements of <emphasis role="bold">A</emphasis>. | ||
56 | </para> | ||
57 | </listitem> | ||
58 | </varlistentry> | ||
59 | <varlistentry> | ||
60 | <term>Matlab expression <emphasis role="bold">B=any(A,dim)</emphasis> translated into Scilab by <emphasis role="bold">B=or(A,dim)</emphasis>:</term> | ||
61 | <listitem> | ||
62 | <para> | ||
63 | In Scilab <emphasis role="bold">dim=1</emphasis> is equivalent to <emphasis role="bold">dim="r"</emphasis> and <emphasis role="bold">dim=2</emphasis> is equivalent to <emphasis role="bold">dim="c"</emphasis>. In Matlab, <emphasis role="bold">dim</emphasis> can be greater then the number of dimension of <emphasis role="bold">A</emphasis> (in this case, <emphasis role="bold">B=A</emphasis>), in Scilab you will get an error message. | ||
64 | </para> | ||
65 | </listitem> | ||
66 | </varlistentry> | ||
67 | </variablelist> | ||
68 | </refsection> | ||
69 | <refsection> | ||
70 | <title>Examples</title> | ||
71 | <informaltable border="1" pgwide="1"> | ||
72 | <tr> | ||
73 | <td align="center"> | ||
74 | <emphasis role="bold">Matlab</emphasis> | ||
75 | </td> | ||
76 | <td align="center"> | ||
77 | <emphasis role="bold">Scilab</emphasis> | ||
78 | </td> | ||
79 | </tr> | ||
80 | <tr> | ||
81 | <td> | ||
82 | <programlisting role="example"><![CDATA[ | ||
83 | y = any([1,1,0;1,0,1]) | ||
84 | y = [1,1,1] | ||
85 | y = any([1,1,0;1,0,1],1) | ||
86 | y = [1,1,1] | ||
87 | ]]></programlisting> | ||
88 | </td> | ||
89 | <td> | ||
90 | <programlisting role="example"><![CDATA[ | ||
91 | y = or([1,1,0;1,0,1]) | ||
92 | y = %T | ||
93 | y = or([1,1,0;1,0,1],1) | ||
94 | y = [%T,%T,%T] | ||
95 | ]]></programlisting> | ||
96 | </td> | ||
97 | </tr> | ||
98 | </informaltable> | ||
99 | </refsection> | ||
100 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/asec.xml b/scilab_doc/Matlab_Scilab_dictionary/a/asec.xml deleted file mode 100644 index b2d8440..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/asec.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_asec"> | ||
14 | <refnamediv> | ||
15 | <refname>asec</refname> | ||
16 | <refpurpose>(Matlab function) Inverse secant</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | asec(A) | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | acos((1) ./A) | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/asech.xml b/scilab_doc/Matlab_Scilab_dictionary/a/asech.xml deleted file mode 100644 index e19197b..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/asech.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_asech"> | ||
14 | <refnamediv> | ||
15 | <refname>asech</refname> | ||
16 | <refpurpose>(Matlab function) Inverse hyperbolic secant</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | asech(A) | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | acosh((1) ./A) | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/asin.xml b/scilab_doc/Matlab_Scilab_dictionary/a/asin.xml deleted file mode 100644 index 2a3d875..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/asin.xml +++ /dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_asin"> | ||
14 | <refnamediv> | ||
15 | <refname>asin</refname> | ||
16 | <refpurpose>(Matlab function) Inverse sine</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | asin | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | asin | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para>In y=asin(x), for real elements of x outside the domain [-1,1], the complex part of Scilab y value is the opposite of Matlab y value.</para> | ||
48 | </refsection> | ||
49 | <refsection> | ||
50 | <title>Examples</title> | ||
51 | <informaltable border="1" pgwide="1"> | ||
52 | <tr> | ||
53 | <td align="center"> | ||
54 | <emphasis role="bold">Matlab</emphasis> | ||
55 | </td> | ||
56 | <td align="center"> | ||
57 | <emphasis role="bold">Scilab</emphasis> | ||
58 | </td> | ||
59 | </tr> | ||
60 | <tr> | ||
61 | <td> | ||
62 | <programlisting role="example"><![CDATA[ | ||
63 | y = asin(2) | ||
64 | y = 1.5708 - 1.3170i | ||
65 | ]]></programlisting> | ||
66 | </td> | ||
67 | <td> | ||
68 | <programlisting role="example"><![CDATA[ | ||
69 | y = asin(2) | ||
70 | y = 1.5708 + 1.3170i | ||
71 | ]]></programlisting> | ||
72 | </td> | ||
73 | </tr> | ||
74 | </informaltable> | ||
75 | </refsection> | ||
76 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/asinh.xml b/scilab_doc/Matlab_Scilab_dictionary/a/asinh.xml deleted file mode 100644 index 6acdb98..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/asinh.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_asinh"> | ||
14 | <refnamediv> | ||
15 | <refname>asinh</refname> | ||
16 | <refpurpose>(Matlab function) Inverse hyperbolic sine</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | asinh | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | asinh | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/atan.xml b/scilab_doc/Matlab_Scilab_dictionary/a/atan.xml deleted file mode 100644 index ab277e6..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/atan.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_atan"> | ||
14 | <refnamediv> | ||
15 | <refname>atan</refname> | ||
16 | <refpurpose>(Matlab function) Two-quadrant inverse tangent</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | atan | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | atan | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/atan2.xml b/scilab_doc/Matlab_Scilab_dictionary/a/atan2.xml deleted file mode 100644 index 2cdb91e..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/atan2.xml +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_atan2"> | ||
14 | <refnamediv> | ||
15 | <refname>atan2</refname> | ||
16 | <refpurpose>(Matlab function) Four-quadrant inverse tangent</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | atan2 | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | atan2 | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Matlab <emphasis role="bold">atan2</emphasis> function can work with complexes (in this case, complex part is ignored), what Scilab <emphasis role="bold">atan</emphasis> can not. | ||
49 | </para> | ||
50 | </refsection> | ||
51 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/a/atanh.xml b/scilab_doc/Matlab_Scilab_dictionary/a/atanh.xml deleted file mode 100644 index 0317bc4..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/a/atanh.xml +++ /dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_atanh"> | ||
14 | <refnamediv> | ||
15 | <refname>atanh</refname> | ||
16 | <refpurpose>(Matlab function) Inverse hyperbolic tangent</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | atanh | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | atanh | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para>In y=atanh(x), for real elements of x outside the domain [-1,1], the complex part of Scilab y value is the opposite of Matlab y value.</para> | ||
48 | </refsection> | ||
49 | <refsection> | ||
50 | <title>Examples</title> | ||
51 | <informaltable border="1" pgwide="1"> | ||
52 | <tr> | ||
53 | <td align="center"> | ||
54 | <emphasis role="bold">Matlab</emphasis> | ||
55 | </td> | ||
56 | <td align="center"> | ||
57 | <emphasis role="bold">Scilab</emphasis> | ||
58 | </td> | ||
59 | </tr> | ||
60 | <tr> | ||
61 | <td> | ||
62 | <programlisting role="example"><![CDATA[ | ||
63 | y = atanh(2) | ||
64 | y = 0.5493 + 1.5708i | ||
65 | ]]></programlisting> | ||
66 | </td> | ||
67 | <td> | ||
68 | <programlisting role="example"><![CDATA[ | ||
69 | y = atanh(2) | ||
70 | y = 0.5493061 - 1.5707963i | ||
71 | ]]></programlisting> | ||
72 | </td> | ||
73 | </tr> | ||
74 | </informaltable> | ||
75 | </refsection> | ||
76 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/CHAPTER b/scilab_doc/Matlab_Scilab_dictionary/b/CHAPTER deleted file mode 100644 index 8c4c908..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/CHAPTER +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | title = B | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/balance.xml b/scilab_doc/Matlab_Scilab_dictionary/b/balance.xml deleted file mode 100644 index 8b5dd1b..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/balance.xml +++ /dev/null | |||
@@ -1,79 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_balance"> | ||
14 | <refnamediv> | ||
15 | <refname>balance</refname> | ||
16 | <refpurpose>(Matlab function) Diagonal scaling to improve eigenvalue accuracy</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | balance | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | balanc | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | There is no equivalent for <emphasis role="bold">B=balance(A)</emphasis> in Scilab, <emphasis role="bold">balanc</emphasis> function does not work with only one output value. | ||
49 | </para> | ||
50 | <para> | ||
51 | When used with two outputs, these functions return value in inverse order. | ||
52 | </para> | ||
53 | </refsection> | ||
54 | <refsection> | ||
55 | <title>Examples</title> | ||
56 | <informaltable border="1" pgwide="1"> | ||
57 | <tr> | ||
58 | <td align="center"> | ||
59 | <emphasis role="bold">Matlab</emphasis> | ||
60 | </td> | ||
61 | <td align="center"> | ||
62 | <emphasis role="bold">Scilab</emphasis> | ||
63 | </td> | ||
64 | </tr> | ||
65 | <tr> | ||
66 | <td> | ||
67 | <programlisting role="example"><![CDATA[ | ||
68 | [T,Ab] = balance(A) | ||
69 | ]]></programlisting> | ||
70 | </td> | ||
71 | <td> | ||
72 | <programlisting role="example"><![CDATA[ | ||
73 | [Ab,T] = balanc(A) | ||
74 | ]]></programlisting> | ||
75 | </td> | ||
76 | </tr> | ||
77 | </informaltable> | ||
78 | </refsection> | ||
79 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/bar.xml b/scilab_doc/Matlab_Scilab_dictionary/b/bar.xml deleted file mode 100644 index e8ccedb..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/bar.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_bar"> | ||
14 | <refnamediv> | ||
15 | <refname>bar</refname> | ||
16 | <refpurpose>(Matlab function) Bar histogram</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | bar | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | bar | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/barh.xml b/scilab_doc/Matlab_Scilab_dictionary/b/barh.xml deleted file mode 100644 index 5191ee0..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/barh.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_barh"> | ||
14 | <refnamediv> | ||
15 | <refname>barh</refname> | ||
16 | <refpurpose>(Matlab function) Bar histogram horizontal</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | barh | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | barh | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/beep.xml b/scilab_doc/Matlab_Scilab_dictionary/b/beep.xml deleted file mode 100644 index 4264823..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/beep.xml +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_beep"> | ||
14 | <refnamediv> | ||
15 | <refname>beep</refname> | ||
16 | <refpurpose>(Matlab function) Produce a beep sound</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | beep | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | beep | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Scilab <emphasis role="bold">beep</emphasis> always returns a value but not Matlab function. | ||
49 | </para> | ||
50 | </refsection> | ||
51 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/besseli.xml b/scilab_doc/Matlab_Scilab_dictionary/b/besseli.xml deleted file mode 100644 index c1d39b3..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/besseli.xml +++ /dev/null | |||
@@ -1,79 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_besseli"> | ||
14 | <refnamediv> | ||
15 | <refname>besseli</refname> | ||
16 | <refpurpose>(Matlab function) Modified Bessel functions of the first kind </refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | besseli | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | besseli | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Scilab <emphasis role="bold">besseli</emphasis> function can work with only one output argument, but the Matlab function can work with two outputs arguments. | ||
49 | </para> | ||
50 | </refsection> | ||
51 | <refsection> | ||
52 | <title>Examples</title> | ||
53 | <informaltable border="1" pgwide="1"> | ||
54 | <tr> | ||
55 | <td align="center"> | ||
56 | <emphasis role="bold">Matlab</emphasis> | ||
57 | </td> | ||
58 | <td align="center"> | ||
59 | <emphasis role="bold">Scilab</emphasis> | ||
60 | </td> | ||
61 | </tr> | ||
62 | <tr> | ||
63 | <td> | ||
64 | <programlisting role="example"><![CDATA[ | ||
65 | y = besseli(alpha,x) | ||
66 | y = besseli(alpha,x,1) | ||
67 | [y,ierr] = besseli(alpha,...) | ||
68 | ]]></programlisting> | ||
69 | </td> | ||
70 | <td> | ||
71 | <programlisting role="example"><![CDATA[ | ||
72 | y = besseli(alpha,x) | ||
73 | y = besseli(alpha,x,ice),ice = 1 or ice = 2 | ||
74 | ]]></programlisting> | ||
75 | </td> | ||
76 | </tr> | ||
77 | </informaltable> | ||
78 | </refsection> | ||
79 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/besselj.xml b/scilab_doc/Matlab_Scilab_dictionary/b/besselj.xml deleted file mode 100644 index c93fa41..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/besselj.xml +++ /dev/null | |||
@@ -1,79 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_besselj"> | ||
14 | <refnamediv> | ||
15 | <refname>besselj</refname> | ||
16 | <refpurpose>(Matlab function) Bessel functions of the first kind </refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | besselj | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | besselj | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Scilab <emphasis role="bold">besselj</emphasis> function can work with only one output argument, but the Matlab function can work with two outputs arguments. | ||
49 | </para> | ||
50 | </refsection> | ||
51 | <refsection> | ||
52 | <title>Examples</title> | ||
53 | <informaltable border="1" pgwide="1"> | ||
54 | <tr> | ||
55 | <td align="center"> | ||
56 | <emphasis role="bold">Matlab</emphasis> | ||
57 | </td> | ||
58 | <td align="center"> | ||
59 | <emphasis role="bold">Scilab</emphasis> | ||
60 | </td> | ||
61 | </tr> | ||
62 | <tr> | ||
63 | <td> | ||
64 | <programlisting role="example"><![CDATA[ | ||
65 | y = besselj(alpha,x) | ||
66 | y = besselj(alpha,x,1) | ||
67 | [y,ierr] = besselj(alpha,...) | ||
68 | ]]></programlisting> | ||
69 | </td> | ||
70 | <td> | ||
71 | <programlisting role="example"><![CDATA[ | ||
72 | y = besselj(alpha,x) | ||
73 | y = besselj(alpha,x,ice),ice = 1 or ice = 2 | ||
74 | ]]></programlisting> | ||
75 | </td> | ||
76 | </tr> | ||
77 | </informaltable> | ||
78 | </refsection> | ||
79 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/besselk.xml b/scilab_doc/Matlab_Scilab_dictionary/b/besselk.xml deleted file mode 100644 index fbf4276..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/besselk.xml +++ /dev/null | |||
@@ -1,79 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_besselk"> | ||
14 | <refnamediv> | ||
15 | <refname>besselk</refname> | ||
16 | <refpurpose>(Matlab function) Modified Bessel functions of the second kind </refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | besselk | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | besselk | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Scilab <emphasis role="bold">besselk</emphasis> function can work with only one output argument, but the Matlab function can work with two outputs arguments. | ||
49 | </para> | ||
50 | </refsection> | ||
51 | <refsection> | ||
52 | <title>Examples</title> | ||
53 | <informaltable border="1" pgwide="1"> | ||
54 | <tr> | ||
55 | <td align="center"> | ||
56 | <emphasis role="bold">Matlab</emphasis> | ||
57 | </td> | ||
58 | <td align="center"> | ||
59 | <emphasis role="bold">Scilab</emphasis> | ||
60 | </td> | ||
61 | </tr> | ||
62 | <tr> | ||
63 | <td> | ||
64 | <programlisting role="example"><![CDATA[ | ||
65 | y = besselk(alpha,x) | ||
66 | y = besselk(alpha,x,1) | ||
67 | [y,ierr] = besselk(alpha,...) | ||
68 | ]]></programlisting> | ||
69 | </td> | ||
70 | <td> | ||
71 | <programlisting role="example"><![CDATA[ | ||
72 | y = besselk(alpha,x) | ||
73 | y = besselk(alpha,x,ice),ice = 1 or ice = 2 | ||
74 | ]]></programlisting> | ||
75 | </td> | ||
76 | </tr> | ||
77 | </informaltable> | ||
78 | </refsection> | ||
79 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/bessely.xml b/scilab_doc/Matlab_Scilab_dictionary/b/bessely.xml deleted file mode 100644 index 97871e8..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/bessely.xml +++ /dev/null | |||
@@ -1,79 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_bessely"> | ||
14 | <refnamediv> | ||
15 | <refname>bessely</refname> | ||
16 | <refpurpose>(Matlab function) Bessel functions of the second kind </refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | bessely | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | bessely | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Scilab <emphasis role="bold">bessely</emphasis> function can work with only one output argument, but the Matlab function can work with two outputs arguments. | ||
49 | </para> | ||
50 | </refsection> | ||
51 | <refsection> | ||
52 | <title>Examples</title> | ||
53 | <informaltable border="1" pgwide="1"> | ||
54 | <tr> | ||
55 | <td align="center"> | ||
56 | <emphasis role="bold">Matlab</emphasis> | ||
57 | </td> | ||
58 | <td align="center"> | ||
59 | <emphasis role="bold">Scilab</emphasis> | ||
60 | </td> | ||
61 | </tr> | ||
62 | <tr> | ||
63 | <td> | ||
64 | <programlisting role="example"><![CDATA[ | ||
65 | y = bessely(alpha,x) | ||
66 | y = bessely(alpha,x,1) | ||
67 | [y,ierr] = bessely(alpha,...) | ||
68 | ]]></programlisting> | ||
69 | </td> | ||
70 | <td> | ||
71 | <programlisting role="example"><![CDATA[ | ||
72 | y = bessely(alpha,x) | ||
73 | y = bessely(alpha,x,ice),ice = 1 or ice = 2 | ||
74 | ]]></programlisting> | ||
75 | </td> | ||
76 | </tr> | ||
77 | </informaltable> | ||
78 | </refsection> | ||
79 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/beta.xml b/scilab_doc/Matlab_Scilab_dictionary/b/beta.xml deleted file mode 100644 index 390b5c5..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/beta.xml +++ /dev/null | |||
@@ -1,82 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_beta"> | ||
14 | <refnamediv> | ||
15 | <refname>beta</refname> | ||
16 | <refpurpose>(Matlab function) Beta function</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | beta | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | beta | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Matlab <emphasis role="bold">beta</emphasis> function can work with only one scalar input an done not-scalar input parameter, but in Scilab both parameters must have the same size. | ||
49 | </para> | ||
50 | </refsection> | ||
51 | <refsection> | ||
52 | <title>Examples</title> | ||
53 | <informaltable border="1" pgwide="1"> | ||
54 | <tr> | ||
55 | <td align="center"> | ||
56 | <emphasis role="bold">Matlab</emphasis> | ||
57 | </td> | ||
58 | <td align="center"> | ||
59 | <emphasis role="bold">Scilab</emphasis> | ||
60 | </td> | ||
61 | </tr> | ||
62 | <tr> | ||
63 | <td> | ||
64 | <programlisting role="example"><![CDATA[ | ||
65 | A = 1; | ||
66 | B = [1 2 3]; | ||
67 | Y = beta(A,B); | ||
68 | ]]></programlisting> | ||
69 | </td> | ||
70 | <td> | ||
71 | <programlisting role="example"><![CDATA[ | ||
72 | A = 1; | ||
73 | B = [1 2 3]; | ||
74 | // So that A and B have the same size | ||
75 | tmp = A;A = B;A(:) = tmp; | ||
76 | Y = beta(A,B); | ||
77 | ]]></programlisting> | ||
78 | </td> | ||
79 | </tr> | ||
80 | </informaltable> | ||
81 | </refsection> | ||
82 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/bin2dec.xml b/scilab_doc/Matlab_Scilab_dictionary/b/bin2dec.xml deleted file mode 100644 index 143ea6c..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/bin2dec.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_bin2dec"> | ||
14 | <refnamediv> | ||
15 | <refname>bin2dec</refname> | ||
16 | <refpurpose>(Matlab function) Returns the integer corresponding to a Given binary representation</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | bin2dec | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | bin2dec | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/bitand.xml b/scilab_doc/Matlab_Scilab_dictionary/b/bitand.xml deleted file mode 100644 index d2e4a22..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/bitand.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_bitand"> | ||
14 | <refnamediv> | ||
15 | <refname>bitand</refname> | ||
16 | <refpurpose>(Matlab function) The AND of two integers</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | bitand | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | bitand | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/bitcmp.xml b/scilab_doc/Matlab_Scilab_dictionary/b/bitcmp.xml deleted file mode 100644 index 5a86db6..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/bitcmp.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_bitcmp"> | ||
14 | <refnamediv> | ||
15 | <refname>bitcmp</refname> | ||
16 | <refpurpose>(Matlab function) The binary complementary of an integer</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | bitcmp | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | bitcmp | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/bitget.xml b/scilab_doc/Matlab_Scilab_dictionary/b/bitget.xml deleted file mode 100644 index 4bcc7a4..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/bitget.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_bitget"> | ||
14 | <refnamediv> | ||
15 | <refname>bitget</refname> | ||
16 | <refpurpose>(Matlab function) Gets the bit of an integer whose the positon is given in the input argument</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | bitget | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | bitget | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/bitor.xml b/scilab_doc/Matlab_Scilab_dictionary/b/bitor.xml deleted file mode 100644 index 16f73df..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/bitor.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_bitor"> | ||
14 | <refnamediv> | ||
15 | <refname>bitor</refname> | ||
16 | <refpurpose>(Matlab function) The OR of two integers</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | bitor | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | bitor | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/bitxor.xml b/scilab_doc/Matlab_Scilab_dictionary/b/bitxor.xml deleted file mode 100644 index 19376d0..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/bitxor.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_bitxor"> | ||
14 | <refnamediv> | ||
15 | <refname>bitxor</refname> | ||
16 | <refpurpose>(Matlab function) Returns the exclusive OR of two integers</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | bitxor | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | bitxor | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/blanks.xml b/scilab_doc/Matlab_Scilab_dictionary/b/blanks.xml deleted file mode 100644 index cc9faa4..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/blanks.xml +++ /dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_blanks"> | ||
14 | <refnamediv> | ||
15 | <refname>blanks</refname> | ||
16 | <refpurpose>(Matlab function) A string of blanks</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | blanks | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | No equivalent | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | There is no Scilab equivalent function for Matlab box but it can be easyly replaced by Scilab equivalent instructions. | ||
49 | </para> | ||
50 | </refsection> | ||
51 | <refsection> | ||
52 | <title>Examples</title> | ||
53 | <informaltable border="1" pgwide="1"> | ||
54 | <tr> | ||
55 | <td align="center"> | ||
56 | <emphasis role="bold">Matlab</emphasis> | ||
57 | </td> | ||
58 | <td align="center"> | ||
59 | <emphasis role="bold">Scilab</emphasis> | ||
60 | </td> | ||
61 | </tr> | ||
62 | <tr> | ||
63 | <td> | ||
64 | <programlisting role="example"><![CDATA[ | ||
65 | A = ['xxx' blanks(20) 'yyy']; | ||
66 | ]]></programlisting> | ||
67 | </td> | ||
68 | <td> | ||
69 | <programlisting role="example"><![CDATA[ | ||
70 | A = "xxx"+part(" ",ones(1,20))+"yyy"; | ||
71 | ]]></programlisting> | ||
72 | </td> | ||
73 | </tr> | ||
74 | </informaltable> | ||
75 | </refsection> | ||
76 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/box.xml b/scilab_doc/Matlab_Scilab_dictionary/b/box.xml deleted file mode 100644 index aa097bc..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/box.xml +++ /dev/null | |||
@@ -1,87 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_box"> | ||
14 | <refnamediv> | ||
15 | <refname>box</refname> | ||
16 | <refpurpose>(Matlab function) Display axes border</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | box | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | No equivalent | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | There is no Scilab equivalent function for Matlab box but it can be easyly replaced by Scilab equivalent instructions. | ||
49 | </para> | ||
50 | </refsection> | ||
51 | <refsection> | ||
52 | <title>Examples</title> | ||
53 | <informaltable border="1" pgwide="1"> | ||
54 | <tr> | ||
55 | <td align="center"> | ||
56 | <emphasis role="bold">Matlab</emphasis> | ||
57 | </td> | ||
58 | <td align="center"> | ||
59 | <emphasis role="bold">Scilab</emphasis> | ||
60 | </td> | ||
61 | </tr> | ||
62 | <tr> | ||
63 | <td> | ||
64 | <programlisting role="example"><![CDATA[ | ||
65 | box on | ||
66 | box off | ||
67 | box | ||
68 | box(h,'on') | ||
69 | box(h,'off') | ||
70 | box(h) | ||
71 | ]]></programlisting> | ||
72 | </td> | ||
73 | <td> | ||
74 | <programlisting role="example"><![CDATA[ | ||
75 | a = gca(); | ||
76 | a.box = "on"; | ||
77 | a.box = "off"; | ||
78 | if a.box=="on" then a.box="off";else a.box="on";end; | ||
79 | h.box = "on"; | ||
80 | h.box = "off"; | ||
81 | if h.box=="on" then h.box="off";else h.box="on";end; | ||
82 | ]]></programlisting> | ||
83 | </td> | ||
84 | </tr> | ||
85 | </informaltable> | ||
86 | </refsection> | ||
87 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/b/break.xml b/scilab_doc/Matlab_Scilab_dictionary/b/break.xml deleted file mode 100644 index 69d0faa..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/b/break.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_break"> | ||
14 | <refnamediv> | ||
15 | <refname>break</refname> | ||
16 | <refpurpose>(Matlab function) Terminate execution of a for loop or while loop</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | break | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | break | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/CHAPTER b/scilab_doc/Matlab_Scilab_dictionary/c/CHAPTER deleted file mode 100644 index 4065f92..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/CHAPTER +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | title = C | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/case.xml b/scilab_doc/Matlab_Scilab_dictionary/c/case.xml deleted file mode 100644 index 2bdcf07..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/case.xml +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_case"> | ||
14 | <refnamediv> | ||
15 | <refname>case</refname> | ||
16 | <refpurpose>(Matlab function) Case switch</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | case | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | case | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | In Matlab expression evaluated can be a cell, in this particular use, all values of cell are considered individually (similarly to a OR). In Scilab it can not be a cell (Matlab particularity can be replaced by others "case" or all switch/case statement can be replaced by a if/then/else statement.). | ||
49 | </para> | ||
50 | </refsection> | ||
51 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/cat.xml b/scilab_doc/Matlab_Scilab_dictionary/c/cat.xml deleted file mode 100644 index a6d3afe..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/cat.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_cat"> | ||
14 | <refnamediv> | ||
15 | <refname>cat</refname> | ||
16 | <refpurpose>(Matlab function) Arrays concatenation</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | cat | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | cat | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/cd.xml b/scilab_doc/Matlab_Scilab_dictionary/c/cd.xml deleted file mode 100644 index 6210bf4..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/cd.xml +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_cd"> | ||
14 | <refnamediv> | ||
15 | <refname>cd</refname> | ||
16 | <refpurpose>(Matlab function) Change/get working directory</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | cd | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | cd | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Note that <emphasis role="bold">cd ..</emphasis> does not work in Scilab, but it does in Matlab. In Scilab you can use <emphasis role="bold">cd("..")</emphasis> or <emphasis role="strong"> cd ../ </emphasis>. | ||
49 | </para> | ||
50 | </refsection> | ||
51 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/ceil.xml b/scilab_doc/Matlab_Scilab_dictionary/c/ceil.xml deleted file mode 100644 index 4057a1c..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/ceil.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_ceil"> | ||
14 | <refnamediv> | ||
15 | <refname>ceil</refname> | ||
16 | <refpurpose>(Matlab function) Round up</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | ceil | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | ceil | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/cell.xml b/scilab_doc/Matlab_Scilab_dictionary/c/cell.xml deleted file mode 100644 index f3eea18..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/cell.xml +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_cell"> | ||
14 | <refnamediv> | ||
15 | <refname>cell</refname> | ||
16 | <refpurpose>(Matlab function) Create cell array</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | cell | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | cell | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Note that in Matlab, input can contain complex values (in these cases, only real part of it is taken in account), what Scilab function do not tolerate. | ||
49 | </para> | ||
50 | </refsection> | ||
51 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/cell2mat.xml b/scilab_doc/Matlab_Scilab_dictionary/c/cell2mat.xml deleted file mode 100644 index a1cc11b..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/cell2mat.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_cell2mat"> | ||
14 | <refnamediv> | ||
15 | <refname>cell2mat</refname> | ||
16 | <refpurpose>(Matlab function) Convert a cell array into a matrix</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | cell2mat | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | cell2mat | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/cellstr.xml b/scilab_doc/Matlab_Scilab_dictionary/c/cellstr.xml deleted file mode 100644 index 274a71e..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/cellstr.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_cellstr"> | ||
14 | <refnamediv> | ||
15 | <refname>cellstr</refname> | ||
16 | <refpurpose>(Matlab function) Convert strings vector (or strings matrix) into a cell of strings</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | cellstr | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | cellstr | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/chol.xml b/scilab_doc/Matlab_Scilab_dictionary/c/chol.xml deleted file mode 100644 index ed582fa..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/chol.xml +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_chol"> | ||
14 | <refnamediv> | ||
15 | <refname>chol</refname> | ||
16 | <refpurpose>(Matlab function) Cholesky factorization</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | chol | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | chol | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Scilab <emphasis role="bold">chol</emphasis> function can only have one output whereas Matlab one can have two ouputs. | ||
49 | </para> | ||
50 | </refsection> | ||
51 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/cla.xml b/scilab_doc/Matlab_Scilab_dictionary/c/cla.xml deleted file mode 100644 index 205d57a..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/cla.xml +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_cla"> | ||
14 | <refnamediv> | ||
15 | <refname>cla</refname> | ||
16 | <refpurpose>(Matlab function) Clear current axes</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | cla | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | No equivalent | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <variablelist> | ||
48 | <varlistentry> | ||
49 | <term>cla</term> | ||
50 | <listitem> | ||
51 | <para> | ||
52 | Scilab equivalent could be <emphasis role="bold">a = gca();delete(a.children);</emphasis> but in this case, all current axes children will be deleted because there is no HandleVisibility property in Scilab graphics. | ||
53 | </para> | ||
54 | </listitem> | ||
55 | </varlistentry> | ||
56 | <varlistentry> | ||
57 | <term>cla reset</term> | ||
58 | <listitem> | ||
59 | <para> | ||
60 | Scilab equivalent is <emphasis role="bold">a = gca();delete(a.children);</emphasis>. | ||
61 | </para> | ||
62 | </listitem> | ||
63 | </varlistentry> | ||
64 | </variablelist> | ||
65 | </refsection> | ||
66 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/clc.xml b/scilab_doc/Matlab_Scilab_dictionary/c/clc.xml deleted file mode 100644 index 843505f..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/clc.xml +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_clc"> | ||
14 | <refnamediv> | ||
15 | <refname>clc</refname> | ||
16 | <refpurpose>(Matlab function) Clear Command Window</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | clc | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | clc([nblines]) | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Note that Scilab function allows to clear only a set of lines above the cursor using <emphasis role="bold">clc(nblines)</emphasis>. | ||
49 | </para> | ||
50 | <para> | ||
51 | Note that Scilab function can not be used in no window mode under Unix/Linux while Matlab one clears the terminal display as if you were using "clear" command. | ||
52 | </para> | ||
53 | </refsection> | ||
54 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/clear.xml b/scilab_doc/Matlab_Scilab_dictionary/c/clear.xml deleted file mode 100644 index 07bd9a3..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/clear.xml +++ /dev/null | |||
@@ -1,77 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_clear"> | ||
14 | <refnamediv> | ||
15 | <refname>clear</refname> | ||
16 | <refpurpose>(Matlab function) Remove items from workspace, freeing up system memory</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | clear | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | clear | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Scilab and Matlab <emphasis role="bold">clear</emphasis> functions are only equivalent when called using <emphasis role="bold">clear</emphasis> or <emphasis role="bold">clear name</emphasis>. | ||
49 | </para> | ||
50 | <variablelist> | ||
51 | <varlistentry> | ||
52 | <term>clear global ...</term> | ||
53 | <listitem> | ||
54 | <para> | ||
55 | Scilab equivalent for Matlab <emphasis role="bold">clear global [name]</emphasis> is <emphasis role="bold">clearglobal([name])</emphasis>. | ||
56 | </para> | ||
57 | </listitem> | ||
58 | </varlistentry> | ||
59 | <varlistentry> | ||
60 | <term>clear variables ...</term> | ||
61 | <listitem> | ||
62 | <para> | ||
63 | Scilab equivalent for Matlab <emphasis role="bold">clear variables</emphasis> is simply <emphasis role="bold">clear</emphasis>. | ||
64 | </para> | ||
65 | </listitem> | ||
66 | </varlistentry> | ||
67 | <varlistentry> | ||
68 | <term>clear keyword ...</term> | ||
69 | <listitem> | ||
70 | <para> | ||
71 | For all other keywords, there is no Scilab equivalent for Matlab <emphasis role="bold">clear call</emphasis>. | ||
72 | </para> | ||
73 | </listitem> | ||
74 | </varlistentry> | ||
75 | </variablelist> | ||
76 | </refsection> | ||
77 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/clf.xml b/scilab_doc/Matlab_Scilab_dictionary/c/clf.xml deleted file mode 100644 index 2149f0a..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/clf.xml +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_clf"> | ||
14 | <refnamediv> | ||
15 | <refname>clf</refname> | ||
16 | <refpurpose>(Matlab function) Clear current figure window</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | clf | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | clf | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <variablelist> | ||
48 | <varlistentry> | ||
49 | <term>clf</term> | ||
50 | <listitem> | ||
51 | <para> | ||
52 | In this case, all current figure children will be deleted because there is no HandleVisibility property in Scilab graphics. | ||
53 | </para> | ||
54 | </listitem> | ||
55 | </varlistentry> | ||
56 | <varlistentry> | ||
57 | <term>fig_handle = clf</term> | ||
58 | <listitem> | ||
59 | <para> | ||
60 | Scilab equivalent is be <emphasis role="bold">fig_handle = gcf();clf;</emphasis>. In this case, all current figure children will be deleted because there is no HandleVisibility property in Scilab graphics. | ||
61 | </para> | ||
62 | </listitem> | ||
63 | </varlistentry> | ||
64 | </variablelist> | ||
65 | </refsection> | ||
66 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/clock.xml b/scilab_doc/Matlab_Scilab_dictionary/c/clock.xml deleted file mode 100644 index 6d3bf37..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/clock.xml +++ /dev/null | |||
@@ -1,79 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_clock"> | ||
14 | <refnamediv> | ||
15 | <refname>clock</refname> | ||
16 | <refpurpose>(Matlab function) Current time as a date vector</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | clock | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | No equivalent | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <para> | ||
48 | Even if there no equivalent for Matlab <emphasis role="bold">clock</emphasis> in Scilab, it can be emuled as shown in example. | ||
49 | </para> | ||
50 | </refsection> | ||
51 | <refsection> | ||
52 | <title>Examples</title> | ||
53 | <informaltable border="1" pgwide="1"> | ||
54 | <tr> | ||
55 | <td align="center"> | ||
56 | <emphasis role="bold">Matlab</emphasis> | ||
57 | </td> | ||
58 | <td align="center"> | ||
59 | <emphasis role="bold">Scilab</emphasis> | ||
60 | </td> | ||
61 | </tr> | ||
62 | <tr> | ||
63 | <td> | ||
64 | <programlisting role="example"><![CDATA[ | ||
65 | c = clock | ||
66 | ]]></programlisting> | ||
67 | </td> | ||
68 | <td> | ||
69 | <programlisting role="example"><![CDATA[ | ||
70 | w = getdate(); | ||
71 | w(3:5) = []; | ||
72 | w(6) = w(6)+w(7)/1000; | ||
73 | c = w(1:6); | ||
74 | ]]></programlisting> | ||
75 | </td> | ||
76 | </tr> | ||
77 | </informaltable> | ||
78 | </refsection> | ||
79 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/close.xml b/scilab_doc/Matlab_Scilab_dictionary/c/close.xml deleted file mode 100644 index d4e1902..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/close.xml +++ /dev/null | |||
@@ -1,90 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_close"> | ||
14 | <refnamediv> | ||
15 | <refname>close</refname> | ||
16 | <refpurpose>(Matlab function) Delete specified figure</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | close | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | close - xdel - delete | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <variablelist> | ||
48 | <varlistentry> | ||
49 | <term>close</term> | ||
50 | <listitem> | ||
51 | <para> | ||
52 | If current figure is a uicontrol one, Scilab and Matlab <emphasis role="bold">close</emphasis> are equivalent. But if current figure is a graphic window, Scilab equivalent for Matlab <emphasis role="bold">close</emphasis> is <emphasis role="bold">delete(gcf())</emphasis>. | ||
53 | </para> | ||
54 | </listitem> | ||
55 | </varlistentry> | ||
56 | <varlistentry> | ||
57 | <term>close(h)</term> | ||
58 | <listitem> | ||
59 | <para> | ||
60 | If <emphasis role="bold">h</emphasis> is a uicontrol figure, Scilab and Matlab <emphasis role="bold">close(h)</emphasis> are equivalent. But if <emphasis role="bold">h</emphasis> is a graphic window, Scilab equivalent for Matlab <emphasis role="bold">close(h)</emphasis> is <emphasis role="bold">delete(h)</emphasis>. | ||
61 | </para> | ||
62 | </listitem> | ||
63 | </varlistentry> | ||
64 | <varlistentry> | ||
65 | <term>close('all')</term> | ||
66 | <listitem> | ||
67 | <para> | ||
68 | Scilab equivalent for Matlab <emphasis role="bold">close('all')</emphasis> is <emphasis role="bold">xdel(winsid())</emphasis>. | ||
69 | </para> | ||
70 | </listitem> | ||
71 | </varlistentry> | ||
72 | <varlistentry> | ||
73 | <term>close(name)</term> | ||
74 | <listitem> | ||
75 | <para> | ||
76 | There is no Scilab equivalent for Matlab <emphasis role="bold">close(name)</emphasis> however, <emphasis role="bold">mtlb_close</emphasis> can be an equivalent. | ||
77 | </para> | ||
78 | </listitem> | ||
79 | </varlistentry> | ||
80 | <varlistentry> | ||
81 | <term>close('all','hidden')</term> | ||
82 | <listitem> | ||
83 | <para> | ||
84 | Scilab equivalent for Matlab <emphasis role="bold">close('all','hidden')</emphasis> is <emphasis role="bold">xdel(winsid())</emphasis> but Scilab kills all figures even if they are hidden. | ||
85 | </para> | ||
86 | </listitem> | ||
87 | </varlistentry> | ||
88 | </variablelist> | ||
89 | </refsection> | ||
90 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/closereq.xml b/scilab_doc/Matlab_Scilab_dictionary/c/closereq.xml deleted file mode 100644 index 9542d8c..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/closereq.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_closereq"> | ||
14 | <refnamediv> | ||
15 | <refname>closereq</refname> | ||
16 | <refpurpose>(Matlab function) Default figure close request function</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | closereq | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | delete(gcf()) | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/colordef.xml b/scilab_doc/Matlab_Scilab_dictionary/c/colordef.xml deleted file mode 100644 index bf0edaa..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/colordef.xml +++ /dev/null | |||
@@ -1,74 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_colordef"> | ||
14 | <refnamediv> | ||
15 | <refname>colordef</refname> | ||
16 | <refpurpose>(Matlab function) Set default property values to display different color schemes</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | colordef | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | No equivalent | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | <refsection> | ||
46 | <title>Particular cases</title> | ||
47 | <variablelist> | ||
48 | <varlistentry> | ||
49 | <term>[h = ]mtlb_colordef(color_option)</term> | ||
50 | <listitem> | ||
51 | <para> | ||
52 | Scilab equivalent is <emphasis role="bold">fig = gcf();fig.background = -1;[h = fig];</emphasis> if <emphasis role="bold">color_option</emphasis> is equal to "black" or "none" and <emphasis role="bold">fig = gcf();fig.background = -1;[h = fig];</emphasis> else. | ||
53 | </para> | ||
54 | </listitem> | ||
55 | </varlistentry> | ||
56 | <varlistentry> | ||
57 | <term>[h = ]mtlb_colordef(fig,color_option)</term> | ||
58 | <listitem> | ||
59 | <para> | ||
60 | Considering <emphasis role="bold">fig</emphasis> is a graphics handle, Scilab equivalent is <emphasis role="bold">fig.background = -1;[h = fig];</emphasis> if <emphasis role="bold">color_option</emphasis> is equal to "black" or "none" and <emphasis role="bold">fig.background = -2;[h = fig];</emphasis> else. | ||
61 | </para> | ||
62 | </listitem> | ||
63 | </varlistentry> | ||
64 | <varlistentry> | ||
65 | <term>[h = ]mtlb_colordef('new',color_option)</term> | ||
66 | <listitem> | ||
67 | <para> | ||
68 | Scilab equivalent is <emphasis role="bold">fig=scf(max(winsid())+1);fig.background = -1;[h = fig];</emphasis> if <emphasis role="bold">color_option</emphasis> is equal to "black" or "none" and <emphasis role="bold">fig=scf(max(winsid())+1);fig.background = -2;[h = fig];</emphasis> else. | ||
69 | </para> | ||
70 | </listitem> | ||
71 | </varlistentry> | ||
72 | </variablelist> | ||
73 | </refsection> | ||
74 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/complex.xml b/scilab_doc/Matlab_Scilab_dictionary/c/complex.xml deleted file mode 100644 index 799e29b..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/complex.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_complex"> | ||
14 | <refnamediv> | ||
15 | <refname>complex</refname> | ||
16 | <refpurpose>(Matlab function) Returns the complex form corresponding to the given real part and imaginary part</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | complex | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | complex | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/conj.xml b/scilab_doc/Matlab_Scilab_dictionary/c/conj.xml deleted file mode 100644 index f536b70..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/conj.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_conj"> | ||
14 | <refnamediv> | ||
15 | <refname>conj</refname> | ||
16 | <refpurpose>(Matlab function) Complex conjugate</refpurpose> | ||
17 | </refnamediv> | ||
18 | <refsection> | ||
19 | <title>Matlab/Scilab equivalent</title> | ||
20 | <para> | ||
21 | <informaltable border="1" pgwide="1"> | ||
22 | <tr> | ||
23 | <td align="center"> | ||
24 | <emphasis role="bold">Matlab</emphasis> | ||
25 | </td> | ||
26 | <td align="center"> | ||
27 | <emphasis role="bold">Scilab</emphasis> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr> | ||
31 | <td> | ||
32 | <programlisting role="example"><![CDATA[ | ||
33 | conj | ||
34 | ]]></programlisting> | ||
35 | </td> | ||
36 | <td> | ||
37 | <programlisting role="example"><![CDATA[ | ||
38 | conj | ||
39 | ]]></programlisting> | ||
40 | </td> | ||
41 | </tr> | ||
42 | </informaltable> | ||
43 | </para> | ||
44 | </refsection> | ||
45 | </refentry> | ||
diff --git a/scilab_doc/Matlab_Scilab_dictionary/c/continue.xml b/scilab_doc/Matlab_Scilab_dictionary/c/continue.xml deleted file mode 100644 index 903a071..0000000 --- a/scilab_doc/Matlab_Scilab_dictionary/c/continue.xml +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | ||
2 | <!-- | ||
3 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | * Copyright (C) 2009 - DIGITEO - Vincent COUVERT | ||
5 | * | ||
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 | ||
11 | * | ||
12 | --> | ||
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" version="5.0-subset Scilab" xml:id="m2sci_continue"> | ||
14 | <refnamediv> | ||
15 | <refname>continue</refname> | ||
16 | <refpurpose>(Matlab function) Keyword to pass control to the next iteration of a loop</refpurpose> |