* [#16292](http://bugzilla.scilab.org/show_bug.cgi?id=16292): `hallchart()` had bugs and a poor rendering.
* [#16293](http://bugzilla.scilab.org/show_bug.cgi?id=16293): Some demos run in step-by-step console mode(4) did not focus user's attention to the console to proceed.
* [#16299](http://bugzilla.scilab.org/show_bug.cgi?id=16299): After `graypolarplot`, `colorbar` displayed an empty ungraduated color bar.
+* [#16300](http://bugzilla.scilab.org/show_bug.cgi?id=16300): Short description in while help page has been updated.
* [#16303](http://bugzilla.scilab.org/show_bug.cgi?id=16303): log10(x) had wrong dimensions when x is an hypermatrix.
* [#16307](http://bugzilla.scilab.org/show_bug.cgi?id=16307): `dockable="off"` and `closerequestfcn` on figures crached Scilab.
* [#16320](http://bugzilla.scilab.org/show_bug.cgi?id=16320): There were unsupported UTF-8 characters in some gettext id messages.
<screen><![CDATA[
--> sys = zpk([2;1], [0;-3-%i;-3+%i], 2.5, "c")
sys =
-
(s-2) (s-1)
2.5 -------------
s (s^2+6s+10)
-
--> typeof(sys)
ans =
-
"zpk"
--->
--> S = zpk2ss(sys)
S =
-
S(1) (state-space system:)
"lss" "A" "B" "C" "D" "X0" "dt"
S(2)= A matrix =
-
0. 1. -0.3162278
0. -6. -3.1622777
0. 3.1622777 0.
S(3)= B matrix =
-
0.
1.
0.
S(4)= C matrix =
-
-5. 2.5 -0.7905694
S(5)= D matrix =
-
0.
S(6)= X0 (initial state) =
-
0.
0.
0.
S(7)= Time domain =
-
"c"
--> typeof(S)
ans =
-
"state-space"
]]></screen>
</refsection>
<para>
Converts a zero pole gain representation to rational transfer function
</para>
-
</refsection>
<refsection>
<title>Examples</title>
<screen><![CDATA[
--> sys = zpk([2;1], [0;-3-%i;-3+%i], 2.5, "c")
sys =
-
(s-2) (s-1)
2.5 -------------
s (s^2+6s+10)
-
--> typeof(sys)
ans =
-
"zpk"
--->
-
--> S = zpk2tf(sys)
S =
-
5 -7.5s +2.5s²
--------------
10s +6s² +s³
--> typeof(S)
ans =
-
"rational"
]]></screen>
</refsection>
* along with this program.
*
-->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="input">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
+ xml:lang="en" xml:id="input">
<refnamediv>
<refname>input</refname>
<refpurpose>prompt for user input</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Syntax</title>
- <synopsis>x = input(message [, "string"])</synopsis>
+ <synopsis>
+ x = input(message)
+ x = input(message, "string")
+ </synopsis>
</refsynopsisdiv>
<refsection>
<title>Arguments</title>
* along with this program.
*
-->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="input">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
+ xml:lang="ja" xml:id="input">
<refnamediv>
<refname>input</refname>
<refpurpose>ユーザ入力用のプロンプト</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>呼び出し手順</title>
- <synopsis>x = input(message [, "string"])</synopsis>
+ <synopsis>
+ x = input(message)
+ x = input(message, "string")
+ </synopsis>
</refsynopsisdiv>
<refsection>
<title>パラメータ</title>
</refnamediv>
<refsynopsisdiv>
<title>呼び出し手順</title>
- <synopsis>tohome()</synopsis>
+ <synopsis>tohome</synopsis>
</refsynopsisdiv>
<refsection>
<title>説明</title>
* along with this program.
*
-->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="input" xml:lang="pt">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml"
+ xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
+ xmlns:scilab="http://www.scilab.org" xml:id="input" xml:lang="pt">
<refnamediv>
<refname>input</refname>
<refpurpose>prompt para entrada do usuário</refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Seqüência de Chamamento</title>
- <synopsis>x = input(message [, "string"])</synopsis>
+ <synopsis>
+ x = input(message)
+ x = input(message, "string")
+ </synopsis>
</refsynopsisdiv>
<refsection>
<title>Parâmetros</title>
</refnamediv>
<refsynopsisdiv>
<title>Синтаксис</title>
- <synopsis>tohome()</synopsis>
+ <synopsis>tohome</synopsis>
</refsynopsisdiv>
<refsection>
<title>Описание</title>
</member>
</simplelist>
</listitem>
- <listitem>The same variable may be used several times
- in the list. Then, multiple assignments are done from
- <emphasis role="italic">right to left (!)</emphasis>
- and overwrite the previous ones.
- Example :
- <literal>[a,b,a] = (%pi, %z, "Allo")</literal>
- is equivalent to <literal>a = %pi, b = %z</literal>.
+ <listitem>
+ <literal>[a,b,a] = (%pi, %z, "Allo")</literal> performs assignments
+ from left to right, such that finally <literal>a = "Allo"</literal>.
</listitem>
</itemizedlist>
</para>
// Direct RHS list
[a, b, c] = (%pi, %t, "test")
[a, b] = (%e, %f, "Hello")
-[a, b, a] = (%pi, %t, "test");
+[a, b, a] = (%pi, %t, "test"); a
// Explicit RHS list
L = list(%z, %i, %t, %pi, "Text");
[r, s+3 ] = myfun(a,b) // Expressions mixing literals and symbols like "s+3" can't be LHS recipients
]]></programlisting>
<screen><![CDATA[--> [a, b, c] = (%pi, %t, "test")
- c =
- test
+ a =
+ 3.1415927
b =
T
- a =
- 3.1415927
+ c =
+ test
--> [a, b] = (%e, %f, "Hello")
- b =
- F
-
a =
2.7182818
+ b =
+ F
+
--> [a, b, a] = (%pi, %t, "test"); a
a =
- 3.1415927
+ test
]]></screen>
</refsection>
<refsection role="see also">
<revision>
<revnumber>6.1</revnumber>
<revdescription>
- Booleans and encoded integers can now be concatenated together, as in [%t, int8(-5)].
+ <itemizedlist>
+ <listitem>
+ Booleans and encoded integers can now be concatenated together,
+ as in [%t, int8(-5)].
+ </listitem>
+ <listitem>
+ [a, b, ..] = (A, B,..) now performs assignments from left to right.
+ </listitem>
+ </itemizedlist>
</revdescription>
</revision>
</revhistory>
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="while">
<refnamediv>
<refname>while</refname>
- <refpurpose>while keyword</refpurpose>
+ <refpurpose>Opens a block of instructions iterated on a heading condition</refpurpose>
</refnamediv>
<refsection>
<title>Description</title>
! -noatomsautoload !
! -args !
! Hello John !
-! 1.2345 !
! "C:\Users\Me" !
- ]]></screen>
+]]></screen>
<para>
<warning>
Let's note that in <literal>scilab -nw</literal> the "-nw" option is used by
produit une erreur, car <literal>c</literal>
attend du contenu.
</member>
- </simplelist>
- </listitem>
+ </simplelist> </listitem>
<listitem>
- La même variable peut être utilisée plusieurs fois dans la liste
- de gauche entre crochets. Le cas échéant, les affectations
- successives sont réalisées
- <emphasis role="italic">de droite à gauche (!)</emphasis> dans la
- liste, et écrasent les contenus pré-existants. Exemple :
- <literal>[a,b,a] = (%pi, %z, "Allo")</literal>
- est équivalent à <literal>a = %pi, b = %z</literal>.
+ <literal>[a,b,a] = (%pi, %z, "Allo")</literal> réalise les
+ affectations de la gauche vers la droite, de sorte que finalement
+ <literal>a = "Allo"</literal>.
</listitem>
</itemizedlist>
</para>
// Liste directe (implicite) d'objets à affecter
[a, b, c] = (%pi, %t, "test")
[a, b] = (%e, %f, "Hello")
-[a, b, a] = (%pi, %t, "test");
+[a, b, a] = (%pi, %t, "test"); a
// Liste explicite d'objets à affecter
L = list(%z, %i, %t, %pi, "Text");
[r, s+3 ] = myfun(a,b) // "s+3" est une expression mixte, non un nom de variable
]]></programlisting>
<screen><![CDATA[--> [a, b, c] = (%pi, %t, "test")
- c =
- test
+ a =
+ 3.1415927
b =
T
- a =
- 3.1415927
+ c =
+ test
--> [a, b] = (%e, %f, "Hello")
- b =
- F
-
a =
2.7182818
+ b =
+ F
+
--> [a, b, a] = (%pi, %t, "test"); a
a =
- 3.1415927
+ test
]]></screen>
</refsection>
<refsection role="see also">
<revision>
<revnumber>6.1</revnumber>
<revdescription>
- Booléens et entiers encodés peuvent désormais être concaténés ensemble,
- comme dans [%t, int8(-5)].
+ <itemizedlist>
+ <listitem>
+ Booléens et entiers encodés peuvent désormais être concaténés ensemble,
+ comme dans [%t, int8(-5)].
+ </listitem>
+ <listitem>
+ [a, b, ..] = (A, B,..) réalise désormais les affectations de la gauche
+ vers la droite.
+ </listitem>
+ </itemizedlist>
</revdescription>
</revision>
</revhistory>
! -noatomsautoload !
! -args !
! Hello John !
-! 1.2345 !
! "C:\Users\Me" !
- ]]></screen>
+]]></screen>
<para>
<warning>
Notons qu'avec <literal>scilab -nw</literal>, l'option "-nw" option s'adresse et est
! -noatomsautoload !
! -args !
! Hello John !
-! 1.2345 !
! "C:\Users\Me" !
- ]]></screen>
+]]></screen>
<para>
<warning>
Let's note that in <literal>scilab -nw</literal> the "-nw" option is used by
! -noatomsautoload !
! -args !
! Hello John !
-! 1.2345 !
! "C:\Users\Me" !
- ]]></screen>
+]]></screen>
<para>
<warning>
Let's note that in <literal>scilab -nw</literal> the "-nw" option is used by
! -noatomsautoload !
! -args !
! Hello John !
-! 1.2345 !
! "C:\Users\Me" !
- ]]></screen>
+]]></screen>
<para>
<warning>
Let's note that in <literal>scilab -nw</literal> the "-nw" option is used by
<?xml version="1.0" encoding="UTF-8"?>
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en_US" xml:id="bitstring">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
+ xml:lang="en_US" xml:id="bitstring">
<refnamediv>
<refname>bitstring</refname>
<refpurpose>A string giving the literal bit representation of a number</refpurpose>
bitstring(uint64(-1))
]]></programlisting>
</refsection>
- <refsection>
+ <refsection role="see also">
<title>See also</title>
<simplelist type="inline">
<member>
</para>
<para>
<table>
- <tr>
+ <tr valign="top">
<td>
<table>
<tr><td><literal>det([])</literal></td> <td><literal>1</literal></td></tr>
<td></td>
<td>
<table>
+ <tr><td><literal>cumprod([])</literal></td> <td><literal>[]</literal></td></tr>
+ <tr><td><literal>cumsum([])</literal></td> <td><literal>[]</literal></td></tr>
<tr><td><literal>sum([])</literal></td> <td><literal>0</literal></td></tr>
<tr><td><literal>prod([])</literal></td> <td><literal>1</literal></td></tr>
<tr><td><literal>mean([])</literal></td> <td><literal>Nan</literal></td></tr>
</refsection>
<refsection>
<title>Examples</title>
+ <para>
+ With real and complex numbers:
+ </para>
<programlisting role="example"><![CDATA[
[i, inf, nan] = (%i, %inf, %nan);
isinf([-1 0.01 -inf inf nan])
<literal>%inf - %nan*complex(0,1) == %inf - complex(%nan*0, %nan*1) == %inf - complex(%nan, %nan)
== complex(%inf-%nan, -%nan) == complex(%nan, %nan)
</literal>
- ,where Inf is eaten by Nan
- and no longer appears.
+ , where Inf is eaten by Nan and no longer appears.
<para/>
<para>
With polynomials :
<screen><![CDATA[
--> p = poly([%nan -2 0 3],"x","coeff")
p =
-
Nan -2x +3x³
--> q = poly([0 %inf %i],"x","coeff")
q =
-
Infx +ix²
--> r = poly([%nan %inf*%i 1],"x","coeff")
r =
-
Nan -(Nan-Infi)x +x²
--> isinf([p q r])
ans =
-
F T F
]]></screen>
</refsection>
ax.title.font_size = 2;
f = scf();
f.color_map = hotcolormap(100);
-f.figure_size = [475 1050];
+f.axes_size = [900 450];
f.figure_position(2) = 0;
f.figure_name = "unwrap()" + _(": 2-D examples");
drawlater()
z = sqrt(0.3+sinc(sqrt(z)*3))*17-7;
end
// PLotting it in 3D
- subplot(4,2,1+ex)
+ subplot(2,4,1+4*ex)
surf(x, y, z)
title("Original profile Z")
e = gce();
// Wrapped surface (flat)
m = 2.8;
zw = pmodulo(z, m); // wraps it
- subplot(4,2,3+ex)
+ subplot(2,4,2+4*ex)
grayplot(x, y, zw')
title(msprintf("Zw = pmodulo(Z, %g) (flat)",m))
ax0 = gca();
// Unwrapped surfaces (flat):
// in both directions:
u = unwrap(zw, 0);
- subplot(4,2,5+ex)
+ subplot(2,4,3+4*ex)
grayplot(x, y, u')
title(msprintf("unwrap(Zw, %g) (flat)", 0))
ax3 = gca();
end
// Along a single direction:
u = unwrap(zw, m, direc);
- subplot(4,2,7+ex)
+ subplot(2,4,4+4*ex)
grayplot(x, y, u')
title(msprintf("unwrap(Zw, %g, ""%s"") (flat)",m,direc))
ax1 = gca();
sda();
drawnow()
]]></programlisting>
- <!--<scilab:image>
- %_unwrap("2D")
- </scilab:image>-->
+ <para/>
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="../../../../helptools/images/unwrap_2D.png"/>
+ </imageobject>
+ </inlinemediaobject>
</refsection>
<refsection role="see also">
<title>See also</title>
0. 2. 4. 6.
0. 2. 4. 6.
0. 2. 4. 6.
-]]>
- </screen>
+]]></screen>
<para>
Les coordonnées du noeud node(i,j) dans l'espace 2D seront alors
simplement <literal>[x(i), y(j)]</literal> maintenant données par
</refsection>
<refsection>
<title>Exemples</title>
+ <para>
+ Avec des nombres réels ou complexes :
+ </para>
<programlisting role="example"><![CDATA[
[i, inf, nan] = (%i, %inf, %nan);
isinf([-1 0.01 -inf inf nan])
<literal>%inf - %nan*complex(0,1) == %inf - complex(%nan*0, %nan*1) == %inf - complex(%nan, %nan)
== complex(%inf-%nan, -%nan) == complex(%nan, %nan)
</literal>
- ,où Inf est effacé par Nan et
- n'apparait plus.
+ , où Inf est effacé par Nan et n'apparait plus.
<para/>
<para>
Avec des polynômes :
<screen><![CDATA[
--> p = poly([%nan -2 0 3],"x","coeff")
p =
-
Nan -2x +3x³
--> q = poly([0 %inf %i],"x","coeff")
q =
-
Infx +ix²
--> r = poly([%nan %inf*%i 1],"x","coeff")
r =
-
Nan -(Nan-Infi)x +x²
--> isinf([p q r])
ans =
-
F T F
]]></screen>
</refsection>
<para>2次元面をアンラップ:</para>
<programlisting role="example"><![CDATA[
// 2次元の例
-// -----------
+// -------
ax = gda();
ax.title.font_size = 2;
f = scf();
f.color_map = hotcolormap(100);
-f.figure_size = [475 1050];
+f.axes_size = [900 450];
f.figure_position(2) = 0;
f.figure_name = "unwrap()" + _(": 2-D examples");
drawlater()
+
nx = 300;
ny = 400;
rmax = 8.8;
else
z = sqrt(0.3+sinc(sqrt(z)*3))*17-7;
end
+
// 3次元でプロットします
- subplot(4,2,1+ex)
+ subplot(2,4,1+4*ex)
surf(x, y, z)
title("Original profile Z")
e = gce();
e.thickness = 0; // メッシュを削除
e.parent.tight_limits = "on";
+
// ラップされた面 (平面)
m = 2.8;
zw = pmodulo(z, m); // ラップする
- subplot(4,2,3+ex)
+ subplot(2,4,2+4*ex)
grayplot(x, y, zw')
title(msprintf("Zw = pmodulo(Z, %g) (flat)",m))
ax0 = gca();
ax0.tight_limits = "on";
+
// アンラップされた面 (平面):
// in both directions:
u = unwrap(zw, 0);
- subplot(4,2,5+ex)
+ subplot(2,4,3+4*ex)
grayplot(x, y, u')
title(msprintf("unwrap(Zw, %g) (flat)", 0))
ax3 = gca();
ax3.tight_limits = "on";
+
if ex==0 then
direc = "r";
else
end
// 一方向にアンラップ:
u = unwrap(zw, m, direc);
- subplot(4,2,7+ex)
+ subplot(2,4,4+4*ex)
grayplot(x, y, u')
title(msprintf("unwrap(Zw, %g, ""%s"") (flat)",m,direc))
ax1 = gca();
sda();
drawnow()
]]></programlisting>
- <!--<scilab:image>
- %_unwrap("2D")
- </scilab:image>-->
+ <para/>
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="../../../../helptools/images/unwrap_2D.png"/>
+ </imageobject>
+ </inlinemediaobject>
</refsection>
<refsection role="see also">
<title>参照</title>
</para>
<programlisting role="example"><![CDATA[
x = [-1-%i, -%i, 0, %i, %i+1];
-[tanh(atanh(x)) ; atanh(tanh(x))]
+[x; tanh(atanh(x)) ; atanh(tanh(x))]
atanh(x.')
]]></programlisting>
<screen><![CDATA[
---> [x ; atanh(tanh(x))]
+--> [x; tanh(atanh(x)) ; atanh(tanh(x))]
ans =
- -Inf -2. -1. -0.5 0. 0.5 1. 2. 3. Inf
- -Inf -2. -1. -0.5 0. 0.5 1. 2. 3. Inf
---> atanh(x')
+ -1. - i 0. - i 0. + 0.i 0. + i 1. + i
+ -1. - i 0. - i 0. + 0.i 0. + i 1. + i
+ -1. - i 0. - i 0. + 0.i 0. + i 1. + i
+
+--> atanh(x.')
ans =
- 0. + 1.5707963i
- -0.5493061 + 1.5707963i
- -Inf + 0.i
- -0.5493061 + 0.i
- 0. + 0.i
- 0.5493061 + 0.i
- Inf + 0.i
- 0.5493061 + 1.5707963i
- 0.3465736 + 1.5707963i
- 0. + 1.5707963i
+
+ -0.4023595 - 1.017222i
+ 0. - 0.7853982i
+ 0. + 0.i
+ 0. + 0.7853982i
+ 0.4023595 + 1.017222i
]]></screen>
</refsection>
<refsection role="see also">
<?xml version="1.0" encoding="UTF-8"?>
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en_US" xml:id="bitstring">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
+ xml:lang="en_US" xml:id="bitstring">
<refnamediv>
<refname>bitstring</refname>
<refpurpose>Строка, дающее символьное битовое представление числа</refpurpose>
bitstring(uint64(-1))
]]></programlisting>
</refsection>
- <refsection>
+ <refsection role="see also">
<title>Смотрите также</title>
<simplelist type="inline">
<member>
</para>
<para>
<table>
- <tr>
+ <tr valign="top">
<td>
<table>
<tr><td><literal>det([])</literal></td> <td><literal>1</literal></td></tr>
<td></td>
<td>
<table>
+ <tr><td><literal>cumprod([])</literal></td> <td><literal>[]</literal></td></tr>
+ <tr><td><literal>cumsum([])</literal></td> <td><literal>[]</literal></td></tr>
<tr><td><literal>sum([])</literal></td> <td><literal>0</literal></td></tr>
<tr><td><literal>prod([])</literal></td> <td><literal>1</literal></td></tr>
<tr><td><literal>mean([])</literal></td> <td><literal>Nan</literal></td></tr>
</refsection>
<refsection>
<title>Примеры</title>
+ <para>
+ С действительными или комплексными числами :
+ </para>
<programlisting role="example"><![CDATA[
[i, inf, nan] = (%i, %inf, %nan);
isinf([-1 0.01 -inf inf nan])
<literal>%inf - %nan*complex(0,1) == %inf - complex(%nan*0, %nan*1) == %inf - complex(%nan, %nan)
== complex(%inf-%nan, -%nan) == complex(%nan, %nan)
</literal>
- ,где Inf съеден значениям Nan и
- больше не появляется.
+ , где Inf съеден значениям Nan и больше не появляется.
<para/>
<para>
С полиномами:
<screen><![CDATA[
--> p = poly([%nan -2 0 3],"x","coeff")
p =
-
Nan -2x +3x³
--> q = poly([0 %inf %i],"x","coeff")
q =
-
Infx +ix²
--> r = poly([%nan %inf*%i 1],"x","coeff")
r =
-
Nan -(Nan-Infi)x +x²
--> isinf([p q r])
ans =
-
F T F
]]></screen>
</refsection>
<para>
3 character string that sets the scale (linear or logarithmic) along the axes.
Each character specifies the scale for respectively the X, Y and Z axes.
- They should take a value between <literal>'n'</literal> for linear scale or
- <literal>'l'</literal> for logarithmic scale.
+ They can be either <literal>'n'</literal> for the
+ <emphasis role="bold">n</emphasis>ormal scale, or
+ <literal>'l'</literal> for the
+ <emphasis role="bold">l</emphasis>ogarithmic one.
</para>
<scilab:image><![CDATA[
x = linspace(0,10,100)(2:$);
* along with this program.
*
-->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="get_figure_handle">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML"
+ xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org"
+ xml:lang="fr" xml:id="get_figure_handle">
<refnamediv>
<refname>get_figure_handle</refname>
- <refpurpose>Retrouve une figure graphique à partir de son identifiant.</refpurpose>
+ <refpurpose>
+ Retrouve une figure graphique à partir de son identifiant
+ <emphasis role="bold">(obsolète)</emphasis>
+ </refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Séquence d'appel</title>
</refsection>
<refsection>
<title>Description</title>
+ <warning>
+ <emphasis role="bold">Cette fonction est obsolète</emphasis> et sera retirée de
+ Scilab 6.1.x. SVP désormais utiliser <emphasis role="bold">findobj("figure_id",n)</emphasis>.
+ </warning>
<para>
La function <literal>get_figure_handle</literal> permet de retrouver le handle
d'une figure graphique à partir de son identifiant. Si une figure avec l'identifiant
</member>
</simplelist>
</refsection>
+ <refsection role="history">
+ <title>Historique</title>
+ <revhistory>
+ <revision>
+ <revnumber>6.1.0</revnumber>
+ <revdescription>
+ get_figure_handle(n) est déclarée obsolète.
+ findobj("figure_id",n) la remplace.
+ </revdescription>
+ </revision>
+ </revhistory>
+ </refsection>
</refentry>
<para>string de três caracteres que ajusta a escala (linear ou
logarítmica) o longo dos eixos. Cada caractere especifica a
escala para os eixos x, y e z respectivamente. Os valores
- podem ser <literal>'n'</literal> para escala linear ou
- <literal>'l'</literal> para escala logarítmica.
+ podem ser <literal>'n'</literal> para escala
+ <emphasis role="bold">n</emphasis>ormal, ou
+ <literal>'l'</literal> para escala
+ <emphasis role="bold">l</emphasis>ogarítmica.
</para>
<scilab:image><![CDATA[
x = linspace(0,10,100)(2:$);
translated. A column of literal texts explicitly separated with
semi-colons may also be specified.
</para>
+ <warning>
+ Only standard ASCII characters can be used. Any other extended ASCII or
+ UTF-8 characters would make gettext() failing.
+ </warning>
+ <para/>
</listitem>
</varlistentry>
<varlistentry>
single or array of messages identifiers (in english) to be translated,
in a variable.
</para>
+ <warning>
+ Only standard ASCII characters can be used.
+ </warning>
+ <para/>
</listitem>
</varlistentry>
<varlistentry>
version in english is returned. The input and output arrays have
the same sizes.
</para>
+ <note>
+ These messages are defined in the ./locales/*.po files. They can include
+ extended ASCII or UTF-8 characters.
+ </note>
+ <para/>
</listitem>
</varlistentry>
<varlistentry>
// For more information, see the COPYING file which you should have received
// along with this program.
-add_help_chapter("Matlab binary files I/O",SCI+"/modules/matio/help/en_US",%T);
+add_help_chapter("Matlab data files I/O",SCI+"/modules/matio/help/en_US",%T);
// For more information, see the COPYING file which you should have received
// along with this program.
-add_help_chapter("Lecture/Ecriture de fichiers binaires Matlab",SCI+"/modules/matio/help/fr_FR",%T);
+add_help_chapter("Matlab : fichiers données (R/W)",SCI+"/modules/matio/help/fr_FR",%T);
// For more information, see the COPYING file which you should have received
// along with this program.
-add_help_chapter("Entrada/Saída de Arquivos Matlab Binários",SCI+"/modules/matio/help/pt_BR",%T);
+add_help_chapter("Matlab : Arquivos de dados (R/W)",SCI+"/modules/matio/help/pt_BR",%T);
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2000 - INRIA - Carlos Klimann
- *
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * along with this program.
- *
- -->
-<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="variance">
- <refnamediv>
- <refname>variance</refname>
- <refpurpose>ベクトルまたは行列の値の分散</refpurpose>
- </refnamediv>
- <refsynopsisdiv>
- <title>呼び出し手順</title>
- <synopsis>s=variance(x[,orien[,w]])
- s=variance(x,'r') or m=variance(x,1)
- s=variance(x,'c') or m=variance(x,2)
- </synopsis>
- </refsynopsisdiv>
- <refsection>
- <title>パラメータ</title>
- <variablelist>
- <varlistentry>
- <term>x</term>
- <listitem>
- <para>実数または複素数のベクトルまたは行列</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>orien</term>
- <listitem>
- <para>計算の向き.orienパタメータの有効な値は, 1, "r", 2および"c"です.</para>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>w</term>
- <listitem>
- <para>w : 使用する正規化の手法. 有効な値は0および1.
- これはxの列の数(orien=1が選択された場合)または
- 行の数(orien=2が選択された場合)に依存します.
- w = 0 の場合,m-1で正規化され,分散の最適な非バイアス推定器が出力されます(これがデフォルト).
- w = 1 の場合, m で正規化され,平均周りの二次モーメントが出力されます.
- orienオプションが指定されない場合,
- n*m-1により正規化が行われます.ただし,n*mは行列における全要素数です.
- </para>
- </listitem>
- </varlistentry>
- </variablelist>
- </refsection>
- <refsection>
- <title>説明</title>
- <para>
- この関数は,ベクトルまたは行列<literal>x</literal>の値の分散を計算します.
- </para>
- <para>
- あるベクトルまたは行列<literal>x</literal>について,
- <literal>s=variance(x)</literal> は,スカラー<literal>s</literal>に
- <literal>x</literal>の全てのエントリの分散を返します.
- </para>
- <para>
- <literal>s=variance(x,'r')</literal> (または等価な, <literal>s=variance(x,1)</literal>)
- は行方向の分散です.
- この場合,行ベクトルsの各エントリに<literal>x</literal>の各列の分散が返されます.
- 複素数値を管理するよう一般化された式が使用されます.
- </para>
- <para>
- <literal>s=variance(x,'c')</literal> (または等価な,<literal>s=variance(x,2)</literal>)
- は列方向の分散です.
- この場合,列ベクトル<literal>s</literal>の各エントリに
- <literal>x</literal>の各行の分散を返します.
- 複素数値を管理するよう一般化された式が使用されます.
- </para>
- </refsection>
- <refsection>
- <title>例</title>
- <programlisting role="example"><![CDATA[
-x=[0.2113249 0.0002211 0.6653811;0.7560439 0.4453586 0.6283918]
-s=variance(x)
-s=variance(x,'r')
-s=variance(x,'c')
- ]]></programlisting>
- </refsection>
- <refsection role="see also">
- <title>参照</title>
- <simplelist type="inline">
- <member>
- <link linkend="mtlb_var">mtlb_var</link>
- </member>
- </simplelist>
- </refsection>
- <refsection>
- <title>参考文献</title>
- <para>
- Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley & Sons, 1990.
- </para>
- </refsection>
-</refentry>