* Bug 16166 fixed: noisegen() obsolete
[scilab.git] / scilab / modules / cacsd / help / ja_JP / noisegen.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) INRIA -
5  *
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  -->
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="noisegen">
17     <refnamediv>
18         <refname>noisegen</refname>
19         <refpurpose>ノイズ生成 <emphasis role="bold">(obsolete)</emphasis></refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>呼び出し手順</title>
23         <synopsis>b=noisegen(pas,Tmax,sig)</synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>説明</title>
27         <warning>
28             <literal>noisegen()</literal> is obsolete. It will be removed from Scilab 6.1.x.
29             Please use grand() instead. Examples (clearer, shorter, and more powerful) follow:
30             <para/>
31             <para>
32             100 10-point wide steps with random amplitudes of normal distribution
33             of mean 1 and standard deviation 0.7:
34             </para>
35             <programlisting role="example"><![CDATA[
36             u = grand(1,100,"nor",1,0.7) .*. ones(1,10);
37             clf, plot(u);
38             ]]></programlisting>
39             <para/>
40             <para>
41             40 15-point wide steps with random amplitudes of uniform distribution in [1 3],
42             with initial level 0.5 and final level hold:
43             </para>
44             <programlisting role="example"><![CDATA[
45             width = 15;
46             u = grand(1,40, "unf", 1, 3) .*. ones(1,width);
47             u = [ones(1,8*width)*0.5, u, ones(1,5*width)*u($)];
48             clf, plot(u);
49             ]]></programlisting>
50         </warning>
51         <para>
52             Scilab 関数 <literal>[b]=Noise(t)</literal>を生成します.
53             ただし, <literal>Noise(t)</literal>は区分定数関数です
54             (<literal>[k*pas,(k+1)*pas]</literal>の区間は定数).
55             各一定区間の値は,
56             互いに独立で同一の分布に従う標準偏差 sig のガウス分布
57             によるランダムな値です.
58             関数は,<literal>t&lt;=0</literal>および
59             <literal>t&gt;=Tmax</literal>では一定です.
60         </para>
61     </refsection>
62     <refsection>
63         <title>例</title>
64         <programlisting role="example"><![CDATA[
65 noisegen(0.5,30,1.0);
66 x=-5:0.01:35;
67 y=feval(x,Noise);
68 plot(x,y);
69  ]]></programlisting>
70     </refsection>
71     <refsection role="history">
72         <title>履歴</title>
73         <revhistory>
74             <revision>
75                 <revnumber>6.1.0</revnumber>
76                 <revdescription>
77                     noisegen() is obsolete. It will be removed from Scilab 6.1.x.
78                     Please replace it with grand() and .*.
79                 </revdescription>
80             </revision>
81         </revhistory>
82     </refsection>
83 </refentry>