translation updated for signal_processing. 84/14484/2
Rui Hirokawa [Thu, 1 May 2014 11:25:55 +0000 (20:25 +0900)]
Change-Id: I6bd4cea01967eb44f61e547847b976b958d6c7e8

84 files changed:
scilab/modules/core/help/ja_JP/1_keywords/ans.xml
scilab/modules/core/help/ja_JP/1_keywords/backslash.xml
scilab/modules/core/help/ja_JP/1_keywords/brackets.xml
scilab/modules/core/help/ja_JP/1_keywords/colon.xml
scilab/modules/core/help/ja_JP/1_keywords/comparison.xml
scilab/modules/core/help/ja_JP/1_keywords/else.xml
scilab/modules/core/help/ja_JP/1_keywords/elseif.xml
scilab/modules/core/help/ja_JP/1_keywords/end.xml
scilab/modules/core/help/ja_JP/1_keywords/equal.xml
scilab/modules/core/help/ja_JP/1_keywords/extraction.xml
scilab/modules/core/help/ja_JP/1_keywords/global.xml
scilab/modules/core/help/ja_JP/1_keywords/insertion.xml
scilab/modules/helptools/etc/images_md5.txt
scilab/modules/helptools/images/_MathML_convol.xml_1.png
scilab/modules/helptools/images/_MathML_cspect.xml_1.png
scilab/modules/signal_processing/help/ja_JP/cepstrum.xml
scilab/modules/signal_processing/help/ja_JP/conv.xml
scilab/modules/signal_processing/help/ja_JP/conv2.xml
scilab/modules/signal_processing/help/ja_JP/detrend.xml
scilab/modules/signal_processing/help/ja_JP/fft2.xml
scilab/modules/signal_processing/help/ja_JP/fftshift.xml
scilab/modules/signal_processing/help/ja_JP/filt_sinc.xml
scilab/modules/signal_processing/help/ja_JP/filters/analpf.xml
scilab/modules/signal_processing/help/ja_JP/filters/buttmag.xml
scilab/modules/signal_processing/help/ja_JP/filters/casc.xml
scilab/modules/signal_processing/help/ja_JP/filters/cheb1mag.xml
scilab/modules/signal_processing/help/ja_JP/filters/cheb2mag.xml
scilab/modules/signal_processing/help/ja_JP/filters/convol.xml
scilab/modules/signal_processing/help/ja_JP/filters/ell1mag.xml
scilab/modules/signal_processing/help/ja_JP/filters/eqfir.xml
scilab/modules/signal_processing/help/ja_JP/filters/eqiir.xml
scilab/modules/signal_processing/help/ja_JP/filters/faurre.xml
scilab/modules/signal_processing/help/ja_JP/filters/ffilt.xml
scilab/modules/signal_processing/help/ja_JP/filters/filter.xml
scilab/modules/signal_processing/help/ja_JP/filters/find_freq.xml
scilab/modules/signal_processing/help/ja_JP/filters/frmag.xml
scilab/modules/signal_processing/help/ja_JP/filters/fsfirlin.xml
scilab/modules/signal_processing/help/ja_JP/filters/group.xml
scilab/modules/signal_processing/help/ja_JP/filters/iir.xml
scilab/modules/signal_processing/help/ja_JP/filters/iirgroup.xml
scilab/modules/signal_processing/help/ja_JP/filters/iirlp.xml
scilab/modules/signal_processing/help/ja_JP/filters/kalm.xml
scilab/modules/signal_processing/help/ja_JP/filters/lev.xml
scilab/modules/signal_processing/help/ja_JP/filters/levin.xml
scilab/modules/signal_processing/help/ja_JP/filters/lindquist.xml
scilab/modules/signal_processing/help/ja_JP/filters/remez.xml
scilab/modules/signal_processing/help/ja_JP/filters/remezb.xml
scilab/modules/signal_processing/help/ja_JP/filters/srfaur.xml
scilab/modules/signal_processing/help/ja_JP/filters/srkf.xml
scilab/modules/signal_processing/help/ja_JP/filters/sskf.xml
scilab/modules/signal_processing/help/ja_JP/filters/syredi.xml
scilab/modules/signal_processing/help/ja_JP/filters/system.xml
scilab/modules/signal_processing/help/ja_JP/filters/trans.xml
scilab/modules/signal_processing/help/ja_JP/filters/wfir.xml
scilab/modules/signal_processing/help/ja_JP/filters/wiener.xml
scilab/modules/signal_processing/help/ja_JP/filters/wigner.xml
scilab/modules/signal_processing/help/ja_JP/filters/window.xml
scilab/modules/signal_processing/help/ja_JP/filters/yulewalk.xml
scilab/modules/signal_processing/help/ja_JP/filters/zpbutt.xml
scilab/modules/signal_processing/help/ja_JP/filters/zpch1.xml
scilab/modules/signal_processing/help/ja_JP/filters/zpch2.xml
scilab/modules/signal_processing/help/ja_JP/filters/zpell.xml
scilab/modules/signal_processing/help/ja_JP/frfit.xml
scilab/modules/signal_processing/help/ja_JP/hilbert.xml
scilab/modules/signal_processing/help/ja_JP/howto/DesignEllipticFilter.xml
scilab/modules/signal_processing/help/ja_JP/identification/lattn.xml
scilab/modules/signal_processing/help/ja_JP/identification/lattp.xml
scilab/modules/signal_processing/help/ja_JP/identification/phc.xml
scilab/modules/signal_processing/help/ja_JP/identification/rpem.xml
scilab/modules/signal_processing/help/ja_JP/miscellaneous/bilt.xml
scilab/modules/signal_processing/help/ja_JP/miscellaneous/jmat.xml
scilab/modules/signal_processing/help/ja_JP/miscellaneous/sincd.xml
scilab/modules/signal_processing/help/ja_JP/mrfit.xml
scilab/modules/signal_processing/help/ja_JP/spectral_estimation/corr.xml
scilab/modules/signal_processing/help/ja_JP/spectral_estimation/cspect.xml
scilab/modules/signal_processing/help/ja_JP/spectral_estimation/czt.xml
scilab/modules/signal_processing/help/ja_JP/spectral_estimation/intdec.xml
scilab/modules/signal_processing/help/ja_JP/spectral_estimation/pspect.xml
scilab/modules/signal_processing/help/ja_JP/transforms/fft.xml
scilab/modules/signal_processing/help/ja_JP/transforms/hank.xml
scilab/modules/signal_processing/help/ja_JP/transforms/hilb.xml
scilab/modules/signal_processing/help/ja_JP/transforms/mfft.xml
scilab/modules/signal_processing/help/ja_JP/xcorr.xml
scilab/modules/signal_processing/help/ja_JP/xcov.xml

index fb4e836..03761b6 100644 (file)
@@ -1,22 +1,41 @@
 <?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="ja" xml:id="ans">
+    
     <refnamediv>
+        
         <refname>ans</refname>
+        
         <refpurpose>答え</refpurpose>
+        
     </refnamediv>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>ans</literal> は "answer"を意味します.
+            
             式が代入されない場合,変数 <literal>ans</literal> が自動的に作成されます.
+            
             <literal>ans</literal>は,直近の代入されていない評価式の値を有しています.
+            
         </para>
+        
         <para>
+            
             変数 <literal>ans</literal> は <function>predef</function> で保護されません.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[
 2+2
 ans // 4
@@ -25,13 +44,24 @@ clear ans
 a=2+2;
 isdef("ans") // F
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="predef">predef</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index bdb41bf..542ae40 100644 (file)
 <?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="ja" xml:id="backslash">
+    
     <refnamediv>
+        
         <refname>backslash</refname>
+        
         <refpurpose>(\) 左行列除算.</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>X=A\B</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             バックスラッシュは左行列除算を定義します. 
+            
             <literal>X=A\B</literal> は <literal>A*X=B</literal>の解です.
+            
         </para>
+        
         <para>
+            
             <literal>A</literal> が正方で非特異の場合,
+            
             <literal>X=A\B</literal> は <literal>X=inv(A)*B</literal> 
+            
             と等価です.しかし,計算はより正確で浮動小数点演算の負荷は小さくなります.
+            
             すなわち,線形システムの方程式<code>A*X=B</code>の解を計算する際には,
+            
             バックスラッシュ演算子を使用するべきであり,<function>inv</function>関数の
+            
             使用は避けるべきです.
+            
         </para>
+        
         <para>
+            
             <literal>A</literal>が正方の場合, 解<literal>X</literal>は
+            
             LU分解または線形最小二乗ソルバのどちらかにより計算できます.
+            
             <literal>A</literal>の条件数が<code>1/(10*%eps)</code>よりも小さい場合
+            
             (つまり,<literal>A</literal>の条件が良い場合),ピボット選択付きLU分解が使用されます.
+            
             そうでない場合(<literal>A</literal>の条件が悪い場合),
+            
             <literal>X</literal> は<literal>A</literal>の完全直交分解を用いて
+            
             <literal>||A*X-B||</literal>を最小化する最小ノルム解となります
+            
             (すなわち,<literal>X</literal>は線形最小二乗問題の解です).
+            
         </para>
+        
         <para>     
+            
             <literal>A</literal> が正方でない場合, <literal>X</literal> は最小二乗解となります.
+            
             すなわち, <code>norm(A*X-B)</code> は,最小値 (ユークリッドノルム)となります. 
+            
             <literal>A</literal> が列フルランクの場合,最小二乗解, <literal>X=A\B</literal>, は
+            
             唯一の解 (<literal>norm(A*X-B)</literal>を最小化する唯一の
+            
             <literal>X</literal>が存在)となります.
+            
             <literal>A</literal> が列フルランクでない場合, 最小二乗解は唯一ではなくなり,
+            
             <literal>X=A\B</literal>は一般に最小ノルム解ではなくなります
+            
             (最小ノルム解は <literal>X=pinv(A)*B</literal>です).
+            
         </para>
+        
         <para>
+            
             <literal>A.\B</literal>  は<literal>(i,j)</literal> エントリが
+            
             <literal>A(i,j)\B(i,j)</literal>となる行列となります.
+            
             <literal>A.\B</literal> は
+            
             <literal>A*ones(B).\B</literal> (または <literal>A.\(B*ones(A))</literal>
+            
             と等価になります.
+            
         </para>
+        
         <para>
+            
             <literal>A\.B</literal>  は定義されていない演算子です.
+            
             この演算子は, <literal>*</literal> または <literal>/</literal> のように
+            
             新しい演算子を定義する際に使用できます
+            
             (<link linkend="overloading">オーバーロード</link>参照).
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[
 A=[
    9.   -36.    30.
@@ -113,41 +173,80 @@ tic();
 res = A\b;
 mprintf('\ntime with backslash: %.3f\n',toc());
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="slash">slash</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="inv">inv</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="pinv">pinv</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="percent">percent</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="ieee">ieee</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="linsolve">linsolve</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="umfpack">umfpack</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>履歴</title>
+        
         <revhistory>
+            
             <revision>
+                
                 <revnumber>5.4.1</revnumber>
+                
                 <revremark>バックスラッシュの条件数の閾値が増加しました.</revremark>
+                
             </revision>
+            
         </revhistory>
+        
     </refsection>
+    
 </refentry>
 
+
+
index f2b4fec..fc57956 100644 (file)
 <?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="ja" xml:id="brackets">
+    
     <refnamediv>
+        
         <refname>brackets</refname>
+        
         <refpurpose>([,]) 左および右括弧</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[a11,a12,...;a21,a22,...;...]
+            
             [s1,s2,...]=func(...)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
+        
         <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>a11,a12,...  </term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         適当な次元の行列 (実数, 多項式, 有理,<literal>syslin</literal>
+                        
                         リスト...) 
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>s1,s2,...  </term>
+                
                 <listitem>
+                    
                     <para>任意の変数名</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             左および右括弧はベクトルおよび行列を結合する
+            
             する際に使用されます.
+            
             これらの記号は関数コールにおいて複数の左辺値を定義する際に
+            
             使用されます.
+            
         </para>
+        
         <para>
+            
             括弧の組の内部では,空白またはカンマ文字は
+            
             "列結合"を意味し,セミコロンおよびキャレッジリターンは
+            
             "行結合"を意味します.
+            
         </para>
+        
         <para>
+            
             注意 : 混乱を避けるため,列を区切るために空白ではなくカンマを使用する
+            
             方がより安全です.
+            
         </para>
+        
         <para>
+            
             複数の lhs 括弧の中の変数名はカンマで区切る必要があります.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 [6.9,9.64; sqrt(-1) 0]
 [1 +%i  2 -%i  3]
@@ -63,16 +118,30 @@ s=poly(0,'s');[1/s,2/s]
 
 [u,s]=schur(rand(3,3))
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="comma">comma</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="semicolon">semicolon</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 67f0275..9f1be10 100644 (file)
 <?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="ja" xml:id="colon">
+    
     <refnamediv>
+        
         <refname>colon</refname>
+        
         <refpurpose>(:) コロン演算子</refpurpose>
+        
     </refnamediv>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             コロン記号 <literal>:</literal> は暗黙的にベクトルを作成する
+            
             際に使用することができます.
+            
             (<link linkend="linspace">linspace</link>,  
+            
             <link linkend="logspace">logspace</link>も参照ください) 
+            
         </para>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>j:k</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         ベクトル <literal>[j, j+1,...,k]</literal> (
+                        
                         <literal>j&gt;k</literal>の場合は空ベクトル).
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>j:d:k</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         ベクトル <literal>[j, j+d, ..., j+m*d]  </literal>
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
         <para>
+            
             コロン表記は,ベクトルおよび行列の指定した行,列および要素を抽出する際にも
+            
             使用することができます(<link linkend="extraction">extraction</link>,
+            
             <link linkend="insertion">insertion</link>も参照ください).
+            
         </para>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>A(:)</term>
+                
                 <listitem>
+                    
                     <para>
-                       は,<literal>A</literal>の全要素を一つの列としてベクトル.
+                        
+                        は,<literal>A</literal>の全要素を一つの列としてベクトル.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>A(:,j)</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         は,<literal>A</literal>の<literal>j</literal>番目の列;
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>A(i,:)</term>
+                
                 <listitem>
+                    
                     <para>
-                     は,<literal>A</literal>の<literal>i</literal>番目の行;
+                        
+                        は,<literal>A</literal>の<literal>i</literal>番目の行;
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>A(j:k)</term>
+                
                 <listitem>
+                    
                     <para>
-                      は,<literal>[A(j),A(j+1),...,A(k)]</literal>;
+                        
+                        は,<literal>[A(j),A(j+1),...,A(k)]</literal>;
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>A(:,j:k)</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         は,
+                        
                         <programlisting><![CDATA[
               [A(1,j)  A(1,j+1)  ... A(1,k)
               A(2,j)  A(2,j+1)  ... A(2,k)
               . . . . . . . . . . .
               A(M,j)  A(M,j+1)  ... A(M,k)]
              ]]></programlisting>
-                       ただし,<literal>A</literal> の大きさが
-                       <literal>M</literal>行<literal>N</literal>列の場合;
+                        
+                        ただし,<literal>A</literal> の大きさが
+                        
+                        <literal>M</literal>行<literal>N</literal>列の場合;
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>A(j:k,:)</term>
+                
                 <listitem>
+                    
                     <para>は,
+                        
                         <programlisting><![CDATA[
               [A(j,1)    A(j,2)   ... A(j,N)
               A(j+1,1)  A(j+1,2) ... A(j+1,N)
               . . . . . . . . . . .
               A(k,1)    A(k,2)   ... A(k,N)]
              ]]></programlisting>
-                       ただし,<literal>A</literal>の大きさが
-                       <literal>M</literal>行<literal>N</literal>列の場合;
+                        
+                        ただし,<literal>A</literal>の大きさが
+                        
+                        <literal>M</literal>行<literal>N</literal>列の場合;
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>A(:)=w</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         行列 <literal>A</literal>に<literal>w</literal>のエントリを代入します
+                        
                         (<literal>w</literal> が行列の場合,列毎に取り出されます).
+                        
                         <literal>A</literal>のエントリの数は,
+                        
                         <literal>w</literal>のエントリの数を等しい必要があります.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
         <para>
-           <literal>i</literal>, <literal>j</literal>, 
+            
+            <literal>i</literal>, <literal>j</literal>, 
+            
             <literal>k</literal>または<literal>d</literal>に小数点以下が
-           ある場合でも,整数部のみが使用されることに注意してください.
+            
+            ある場合でも,整数部のみが使用されることに注意してください.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting><![CDATA[ 
 a = 1:5
 b = 1:3:12
@@ -147,22 +259,42 @@ i = 1:0.4:10; //添字
 A(i)
 
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="matrix">matrix</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="for">for</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="linspace">linspace</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="logspace">logspace</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index b98c156..7e5282a 100644 (file)
 <?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="ja" xml:id="comparison">
+    
     <refnamediv>
+        
         <refname>comparison</refname>
+        
         <refpurpose>比較, 関係演算子</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼出し手順</title>
+        
         <synopsis>a==b
+            
             a~=b or a&lt;&gt;b
+            
             a&lt;b
+            
             a&lt;=b
+            
             a&gt;b
+            
             a&gt;=b
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
+        
         <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>a</term>
+                
                 <listitem>
+                    
                     <para> 
+                        
                         等値比較<literal>a==b</literal>, <literal>a~=b</literal> 
+                        
                         <literal>a&lt;&gt;b</literal>の場合は任意の変数の型とすることができ,
+                        
                         順序が関連する比較<literal>a&lt;b</literal>,
+                        
                         <literal>a&lt;=b</literal>, <literal>a&gt;b</literal>,<literal>a&gt;=b</literal>
+                        
                         に関しては,浮動小数点の実数および整数の配列に制限されます.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>b</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         等値比較 <literal>a==b</literal>, <literal>a~=b</literal> 
+                        
                         <literal>a&lt; &gt; b</literal> の場合は任意の変数の型とすることができ,
+                        
                         順序が関連する比較
+                        
                         <literal>a&lt;b</literal>, <literal>a&lt;=b</literal>,
+                        
                         <literal>a&gt;b</literal>,<literal>a&gt;=b</literal>
+                        
                         に関しては,浮動小数点の実数および整数の配列に制限されます.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>2つの暮らすの演算士は区別する必要があります:</para>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>等値および不等式比較: </term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         <literal>a==b</literal>, <literal>a~=b</literal> (または等価な <literal>a&lt;&gt;b</literal>).
+                        
                         これらの演算子は任意のオペランドの型に適用できます.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>順序が関連する比較: </term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         <literal>a&lt;b</literal>, <literal>a&lt;=b</literal>,
+                        
                         <literal>a&gt;b</literal>,<literal>a&gt;=b</literal>. これらの演算子は
+                        
                         浮動小数点の実数および整数の配列にのみ適用されます.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
         <para>比較演算子のセマンティクスもオペランドの型に依存します:</para>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>配列変数の場合 </term>
+                
                 <listitem>
+                    
                     <para>浮動小数点の実数および整数配列, 論理値配列,
+                        
                         文字列配列,多項式または有理配列,ハンドル配列,リスト...
+                        
                         のような配列変数の場合,以下の規則が適用されます:
+                        
                     </para>
+                    
                     <itemizedlist>
+                        
                         <listitem>
+                            
                             <para>
+                                
                                 <literal> a</literal>および <literal> b</literal> を
+                                
                                 同じ型,同じ次元の配列として評価する場合,
+                                
                                 要素毎の比較が行われ,
+                                
                                 結果は同じ次元の論理値の配列となります.
+                                
                             </para>
+                            
                         </listitem>
+                        
                         <listitem>
+                            
                             <para>
+                                
                                 If <literal> a</literal> および <literal> b</literal> が
+                                
                                 型は同じだが
+                                
                                 <literal> a</literal>または<literal> b</literal>が1行1列の配列の場合,
+                                
                                 このスカラーが別の配列の各要素と比較されます.
+                                
                                 この結果はスカラーでないオペランドの大きさの論理値の配列となります.
+                                
                             </para>
+                            
                         </listitem>
+                        
                         <listitem>
+                            
                             <para>その他の場合,
+                                
                                 結果は論理値 <literal> %f</literal> となります.
+                                
                             </para>
+                            
                         </listitem>
+                        
                         <listitem>
+                            
                             <para>オペランドのデータ型が異なるが浮動小数点と整数のように
+                                
                                 互換性がある場合,比較の前に型変換が行われます.
+                                
                             </para>
+                            
                         </listitem>
+                        
                     </itemizedlist>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>その他の型のオペランドの場合 </term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         <literal>function</literal>や
+                        
                         <literal>libraries</literal>のようなその他のオペランドの場合, 
+                        
                         結果はオブジェクトが同じ場合に<literal>%t</literal>,
+                        
                         それ以外の場合に <literal>%f</literal> となります.
+                        
                     </para>
+                    
                     <para>互換性がないデータ型の間の等値比較は
+                        
                         <literal>%f</literal>を返します.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 //用途毎の比較
 (1:5)==3
@@ -153,22 +281,42 @@ p=poly(0,'s','c')
 p==0
 p/poly(1,'s','c')==0
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="less">less</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="greater">greater</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="boolean">boolean</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="isequal">isequal</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 8a552ff..e6abec7 100644 (file)
@@ -1,17 +1,31 @@
 <?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="ja" xml:id="else">
+    
     <refnamediv>
+        
         <refname>else</refname>
+        
         <refpurpose>if-then-elseおよびselect-case-then-elseのキーワード</refpurpose>
+        
     </refnamediv>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-          <literal>if</literal>および<literal>select</literal>で使用されます.
+            
+            <literal>if</literal>および<literal>select</literal>で使用されます.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 val = %t
 
@@ -30,16 +44,30 @@ select val
       disp("a third variant");
 end 
      ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="if">if</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="select">select</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index eefad10..f7a0a66 100644 (file)
@@ -1,20 +1,37 @@
 <?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="ja" xml:id="elseif">
+    
     <refnamediv>
+        
         <refname>elseif</refname>
+        
         <refpurpose>if-then-elseのキーワード</refpurpose>
+        
     </refnamediv>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-         条件が複数ある場合,キーワード<literal>elseif</literal>
-         が便利です.
-         複数の<literal>elseif</literal>がある場合,
-         最初にtrue条件となったものが選択されます(他のものがtrueの場合でも).
+            
+            条件が複数ある場合,キーワード<literal>elseif</literal>
+            
+            が便利です.
+            
+            複数の<literal>elseif</literal>がある場合,
+            
+            最初にtrue条件となったものが選択されます(他のものがtrueの場合でも).
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 a=1;
 if a==1 then
@@ -27,16 +44,30 @@ else
     disp("Case not handled.")
 end
      ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="if">if</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="select">select</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 345f292..d514f9f 100644 (file)
@@ -1,20 +1,37 @@
 <?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="ja" xml:id="end">
+    
     <refnamediv>
+        
         <refname>end</refname>
+        
         <refpurpose>end キーワード</refpurpose>
+        
     </refnamediv>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             ループまたは条件文の末尾で使用されます.
-           <literal>for</literal>, <literal>while</literal>, <literal>if</literal>, 
-           <literal>select</literal> は, <literal>end</literal> で
+            
+            <literal>for</literal>, <literal>while</literal>, <literal>if</literal>, 
+            
+            <literal>select</literal> は, <literal>end</literal> で
+            
             終わる必要があります.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[
 a=42
 if a==42 then
@@ -35,22 +52,42 @@ for i = 1:n
 end
 
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="for">for</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="while">while</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="if">if</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="select">select</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 8b64d87..4ec1843 100644 (file)
 <?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="ja" xml:id="equal">
+    
     <refnamediv>
+        
         <refname>equal</refname>
+        
         <refpurpose>(=) 代入 , 比較,  等号</refpurpose>
+        
     </refnamediv>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>代入:</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         等号記号  <literal>=</literal> は値の変数への代入を定義する
+                        
                         際に使用されます.構文は次のようになります :
+                        
                     </para>
+                    
                     <itemizedlist>
+                        
                         <listitem>
+                            
                             <para>
+                                
                                 <literal>a=expr</literal> ただし,
+                                
                                 <literal>a</literal> は変数名,  <literal>expr</literal> は
+                                
                                 単一の結果を返すScilab式です.
+                                
                             </para>
+                            
                         </listitem>
+                        
                         <listitem>
+                            
                             <para>
+                                
                                 <literal>[a,b,...]=expr</literal> ただし,
+                                
                                 <literal>a</literal>,<literal>b</literal>,<literal>...</literal> は変数名,
+                                
                                 <literal>expr</literal> は指定した変数名と同じ数の結果を返すScilab式です.
+                                
                             </para>
+                            
                         </listitem>
+                        
                     </itemizedlist>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>比較:</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         等号記号  <literal>=</literal> は,比較演算子にも使用されます:
+                        
                     </para>
+                    
                     <itemizedlist>
+                        
                         <listitem>
+                            
                             <para>
+                                
                                 <literal>a==b</literal> は,
+                                
                                 式 <literal> a</literal> および <literal>b</literal>の値の等値比較を定義します.
+                                
                             </para>
+                            
                         </listitem>
+                        
                         <listitem>
+                            
                             <para>
+                                
                                 <literal>a~=b</literal>は, 
+                                
                                 式 <literal>a</literal>と <literal> b</literal>の値の非等値比較も定義します:
+                                
                             </para>
+                            
                         </listitem>
+                        
                         <listitem>
+                            
                             <para>
+                                
                                 <literal>a&lt;=b</literal> と <literal>a&gt;=b</literal>  は,
+                                
                                 式 <literal> a</literal>
+                                
                                 と <literal> b</literal>の値の順序比較も定義します:
+                                
                             </para>
+                            
                         </listitem>
+                        
                     </itemizedlist>
+                    
                     <para>
+                        
                         構文の詳細については, <link linkend="comparison">比較</link> を参照ください.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 a = sin(3.2)
 M = [2.1,3.3,8.5;7.6,6.7,6.9;0,6.3,8.8];
@@ -78,25 +148,48 @@ M = [2.1,3.3,8.5;7.6,6.7,6.9;0,6.3,8.8];
 sparse([1,2;4,5;3,10],[1,2,3]) == sparse([1,2;4,5;3,10],[1,2,3])
 1~=2
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="less">less</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="greater">greater</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="boolean">boolean</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="isequal">isequal</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="comparison">comparison</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 81e2f65..3f950d9 100644 (file)
 <?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: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="extraction" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>extraction</refname>
+        
         <refpurpose>行列およびリストのエントリの展開</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼出し手順</title>
+        
         <synopsis>
+            
             x(i)
+            
             x(i,j)
+            
             x(i,j,k,..)
+            
             [...]=l(i)
+            
             [...]=l(k1)...(kn)(i) または [...]=l(list(k1,...,kn,i))
+            
             l(k1)...(kn)(i,j) または l(list(k1,...,kn,list(i,j))
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
+        
         <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>任意の型の行列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>l</term>
+                
                 <listitem>
+                    
                     <para>リスト変数</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>i,j, k</term>
+                
                 <listitem>
+                    
                     <para>添え字</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>k1,...kn</term>
+                
                 <listitem>
+                    
                     <para>添え字</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>行列の場合</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         <literal>i</literal>, <literal>j</literal>,
+                        
                         <literal>k</literal>,.. は以下のようになります:
+                        
                     </para>
+                    
                     <variablelist>
+                        
                         <varlistentry>
+                            
                             <term>
+                                
                                 正の要素を有する実数のスカラーまたはベクトルまたは行列.
+                                
                             </term>
+                            
                             <listitem>
+                                
                                 <itemizedlist>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             <literal>r=x(i,j)</literal> は,
+                                            
                                             1 から<literal>size(i,'*')</literal>の
+                                            
                                             <literal>l</literal>および
+                                            
                                             1 から <literal>size(j,'*')</literal>の
+                                            
                                             <literal>k</literal>について
+                                            
                                             <literal>r(l,k)=x(int(i(l)),int(j(k)))</literal>となるような
+                                            
                                             行列<literal>r</literal>を作成します.
+                                            
                                         </para>
+                                        
                                         <para>
+                                            
                                             <literal>i</literal> (<literal>j</literal>) の
+                                            
                                             最大値は<literal>size(x,1)</literal>
+                                            
                                             (<literal>size(x,2)</literal>)以下とする必要があります.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             1x1行列 <literal>x</literal>を指定した
+                                            
                                             <literal>r=x(i)</literal>は,
+                                            
                                             1 から<literal>size(i,1)</literal>の<literal>l</literal>および
+                                            
                                             1 から <literal>size(i,2)</literal>の<literal>k</literal>
+                                            
                                             について, <literal>r(l,k)=x(int(i(l)),int(i(k)))</literal>
+                                            
                                             となるような
+                                            
                                             行列 <literal>r</literal> を構築します.
+                                            
                                         </para>
+                                        
                                         <para>
+                                            
                                             この場合,全てのエントリが1に等しい場合にのみ,
+                                            
                                             添え字 <literal>i</literal>が有効です.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             <literal>x</literal>を指定した行ベクトル<literal>r=x(i)</literal>は,
+                                            
                                             1から<literal>size(i,'*')</literal>の<literal>l</literal>
+                                            
                                             について<literal>r(l)=x(int(i(l)))</literal>となるような
+                                            
                                             行ベクトル <literal>r</literal>を作成します.
+                                            
                                             <literal>i</literal>の最大値が
+                                            
                                             <literal>size(x,'*')</literal>以下とする必要があります.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             1つ以上の列を有する行列<literal>x</literal>を指定した
+                                            
                                             <literal>r=x(i)</literal> は,
+                                            
                                             <literal>r(l)</literal>
+                                            
                                             (<literal>l</literal>は 1 から <literal>size(i,'*')</literal>)
+                                            
                                             が <literal>x</literal>の列の結合により作成された
+                                            
                                             列ベクトルの
+                                            
                                             エントリ<literal>int(i(l))</literal>を含むような
+                                            
                                             列ベクトル<literal>r</literal>を作成します.
+                                            
                                         </para>
+                                        
                                         <para>
+                                            
                                             <literal>i</literal> の最大値は
+                                            
                                             <literal>size(x,'*')</literal>以下である必要があります.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                 </itemizedlist>
+                                
                             </listitem>
+                            
                         </varlistentry>
+                        
                         <varlistentry>
+                            
                             <term>
+                                
                                 記号 <literal> : </literal>
+                                
                             </term>
+                            
                             <listitem>
+                                
                                 <para><literal/>
+                                    
                                     は "全ての要素"を意味します.
+                                    
                                 </para>
+                                
                                 <itemizedlist>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             <literal>r=x(i,:)</literal> は,
+                                            
                                             1から<literal>size(i,'*')</literal>の<literal>l</literal>,
+                                            
                                             1から<literal>size(x,2)</literal>の<literal>k</literal>について,
+                                            
                                             <literal>r(l,k)=x(int(i(l)),k))</literal>となるような
+                                            
                                             行列 <literal>r</literal> を作成します.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             <literal>r=x(:,j)</literal> は,
+                                            
                                             1から<literal>size(r,1)</literal>の<literal>l</literal>,
+                                            
                                             1から<literal>size(j,'*')</literal>の<literal>k</literal>について,
+                                            
                                             <literal>r(l,k)=x(l,int(j(k)))</literal>となるような
+                                            
                                             行列 <literal>r</literal> を作成します.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             <literal>r=x(:)</literal> は,
+                                            
                                             <literal>x</literal>列の列結合により
+                                            
                                             列ベクトル<literal>r</literal>を作成します.
+                                            
                                             これは,<literal>matrix(x,size(x,'*'),1)</literal>と等価です.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                 </itemizedlist>
+                                
                             </listitem>
+                            
                         </varlistentry>
+                        
                         <varlistentry>
+                            
                             <term>論理値のベクトル</term>
+                            
                             <listitem>
+                                
                                 <para>
+                                    
                                     添え字 (<literal>i</literal> または
+                                    
                                     <literal>j</literal> ) が論理値のベクトルの場合,それぞれ
+                                    
                                     <literal>find(i)</literal>または<literal>find(j)</literal>
+                                    
                                     として解釈されます.
+                                    
                                 </para>
+                                
                             </listitem>
+                            
                         </varlistentry>
+                        
                         <varlistentry>
+                            
                             <term>多項式</term>
+                            
                             <listitem>
+                                
                                 <para>
+                                    
                                     添え字 (<literal>i</literal> または
+                                    
                                     <literal>j</literal> )が多項式のベクトルまたは
+                                    
                                     暗黙の多項式ベクトルの場合,それぞれ
+                                    
                                     <literal>horner(i,m)</literal>または
+                                    
                                     <literal>horner(j,n)</literal>と解釈されます.
+                                    
                                     ただし,<literal>m</literal> および<literal>n</literal>
+                                    
                                     は<literal>x</literal>の次元に関連します.
+                                    
                                     この機能は全ての多項式に対して動作しますが,
+                                    
                                     可読性を確保するために, <literal>$</literal>に
+                                    
                                     多項式を使用することが推奨されます.
+                                    
                                 </para>
+                                
                             </listitem>
+                            
                         </varlistentry>
+                        
                     </variablelist>
+                    
                     <para>
+                        
                         2より大きな次元の行列(参照:<link linkend="hypermatrices">ハイパー行列</link>)の場合,
+                        
                         最も右の次元が1に等しくなると
+                        
                         次元が自動的に縮小されます.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>list または tlist の場合</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         指定された場合,
+                        
                         <literal>ki</literal>は<literal>l</literal>データ構造
+                        
                         のサブリストのエントリへのパスを指定します.
+                        
                         これにより,中間的なコピーをすることなく再帰的な展開が
+                        
                         可能になります.
+                        
                         命令は以下のようになります:
+                        
                     </para>
+                    
                     <para>
+                        
                         <literal>[...]=l(k1)...(kn)(i)</literal>
+                        
                     </para>
+                    
                     <para>および</para>
+                    
                     <para>
+                        
                         <literal>[...]=l(list(k1,...,kn,i))</literal>
+                        
                     </para>
+                    
                     <para>は以下のように解釈されます:</para>
+                    
                     <para>
+                        
                         <literal>lk1 = l(k1)</literal><literal> .. = .. </literal><literal>lkn = lkn-1(kn)</literal><literal>[...] = lkn(i)</literal>
+                        
                         そして,<literal>l(k1)...(kn)(i,j)</literal> および
+                        
                     </para>
+                    
                     <para>
+                        
                         <literal>l(list(k1,...,kn,list(i,j))</literal> 命令は
+                        
                         以下のように解釈されます: <literal>lk1 = l(k1)</literal> <literal> .. = ..
+                            
                         </literal>
+                        
                         <literal>lkn = lkn-1(kn)</literal> <literal>
+                            
                             lkn(i,j)
+                            
                         </literal>
+                        
                         <literal>i</literal> および <literal>j</literal>については後述します.
+                        
                         パスが複数のリストの要素を指す場合,
+                        
                         この命令は,選択した要素と同じ数の左辺の引数を有する必要があります.
+                        
                         しかし,展開構文を関数の中で使用した場合,
+                        
                         リストの要素を返す入力の呼出し手順が
+                        
                         関数の呼び出し手順に追加されます.
+                        
                     </para>
+                    
                     <para>
+                        
                         <literal> l(list())</literal> は
+                        
                         <literal> l</literal>と同じであることに注意してください.
+                        
                     </para>
+                    
                     <variablelist>
+                        
                         <varlistentry>
+                            
                             <term>i および j は以下のようになります :</term>
+                            
                             <listitem>
+                                
                                 <variablelist>
+                                    
                                     <varlistentry>
+                                        
                                         <term>正の要素を有する実数のスカラーまたはベクトルまたは行列.</term>
+                                        
                                         <listitem>
+                                            
                                             <para>
+                                                
                                                 <literal>[r1,...rn]=l(i)</literal> は
+                                                
                                                 リスト l から要素<literal>i(k)</literal>を展開し,これを
+                                                
                                                 1から<literal>size(i,'*')</literal>までの <literal>k</literal>
+                                                
                                                 について <literal>rk</literal> に保存します.
+                                                
                                             </para>
+                                            
                                         </listitem>
+                                        
                                     </varlistentry>
+                                    
                                     <varlistentry>
+                                        
                                         <term>
+                                            
                                             記号 <literal> : </literal>
+                                            
                                         </term>
+                                        
                                         <listitem>
+                                            
                                             <para>"全ての要素"を意味します.</para>
+                                            
                                         </listitem>
+                                        
                                     </varlistentry>
+                                    
                                     <varlistentry>
+                                        
                                         <term>論理値のベクトル.</term>
+                                        
                                         <listitem>
+                                            
                                             <para>
+                                                
                                                 <literal>i</literal> が論理値のベクトルの場合,
+                                                
                                                 <literal>find(i)</literal>と解釈されます.
+                                                
                                             </para>
+                                            
                                         </listitem>
+                                        
                                     </varlistentry>
+                                    
                                     <varlistentry>
+                                        
                                         <term>多項式.</term>
+                                        
                                         <listitem>
+                                            
                                             <para>
+                                                
                                                 <literal>i</literal> が多項式のベクトルまたは
+                                                
                                                 暗黙の多項式ベクトルの場合,
+                                                
                                                 <literal>horner(i,m)</literal>として解釈されます.
+                                                
                                                 ただし,<literal>m=size(l)</literal>です.
+                                                
                                                 この機能は全ての多項式に関して動作しますが,
+                                                
                                                 可読性を良くするために,多項式を<literal>$</literal>の
+                                                
                                                 中で使用することを推奨します.
+                                                
                                             </para>
+                                            
                                         </listitem>
+                                        
                                     </varlistentry>
+                                    
                                 </variablelist>
+                                
                             </listitem>
+                            
                         </varlistentry>
+                        
                         <varlistentry>
+                            
                             <term>k1,..kn は以下のようになります. :</term>
+                            
                             <listitem>
+                                
                                 <variablelist>
+                                    
                                     <varlistentry>
+                                        
                                         <term>実数の正のスカラー,</term>
+                                        
                                         <listitem>
+                                            
                                             <para/>
+                                            
                                         </listitem>
+                                        
                                     </varlistentry>
+                                    
                                     <varlistentry>
+                                        
                                         <term>多項式,</term>
+                                        
                                         <listitem>
+                                            
                                             <para>
+                                                
                                                 は<literal>horner(ki,m)</literal>と解釈されます.
+                                                
                                                 ただし,<literal>m</literal>は対応するサブリストの大きさです.
+                                                
                                             </para>
+                                            
                                         </listitem>
+                                        
                                     </varlistentry>
+                                    
                                     <varlistentry>
+                                        
                                         <term>文字列</term>
+                                        
                                         <listitem>
+                                            
                                             <para>サブリストのエントリ名に関連します.</para>
+                                            
                                         </listitem>
+                                        
                                     </varlistentry>
+                                    
                                 </variablelist>
+                                
                             </listitem>
+                            
                         </varlistentry>
+                        
                     </variablelist>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>注意</title>
+        
         <para>
+            
             有理関数や状態空間線形システムのようにソフトウエアで作成される行列の型の場合,
+            
             リストの要素の展開と区別できないため,
+            
             <literal>x(i)</literal> 構文をベクトル要素の展開には使用できない可能性が
+            
             あります.
+            
             この場合,
+            
             <literal>x(1,j)</literal> または <literal>x(i,1)</literal>構文を使用する必要があります.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[
 // 行列の場合
 a=[1 2 3;4 5 6]
@@ -367,19 +701,36 @@ dts(2)('a')
 dts(2)('b')(1,2)
 [a,b]=dts(2)(['a','b'])
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="find">find</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="horner">horner</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="parentheses">parentheses</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 1d403d2..afeee8c 100644 (file)
@@ -1,44 +1,85 @@
 <?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="ja" xml:id="global">
+    
     <refnamediv>
+        
         <refname>global</refname>
+        
         <refpurpose>グローバル変数を定義する</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼出し手順</title>
+        
         <synopsis>global('nam1',...,'namn')
+            
             global nam1 ... namn
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
+        
         <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>nam1,..., namn</term>
+                
                 <listitem>
+                    
                     <para>有効な変数名</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-          もともと, 各 Scilab 関数は固有のローカルな変数を有し,
-          基本ワークスペースで作成された全ての変数を"読む"または
-          関数コールにより読むことができます.
-          <literal>global</literal> キーワードにより,複数の関数をまたがって
-          変数を読み/書きすることができます.
-          関数の内部で変数に代入すると,この変数を<literal>global</literal>として
-          宣言した他の関数でも利用可能となります.
+            
+            もともと, 各 Scilab 関数は固有のローカルな変数を有し,
+            
+            基本ワークスペースで作成された全ての変数を"読む"または
+            
+            関数コールにより読むことができます.
+            
+            <literal>global</literal> キーワードにより,複数の関数をまたがって
+            
+            変数を読み/書きすることができます.
+            
+            関数の内部で変数に代入すると,この変数を<literal>global</literal>として
+            
+            宣言した他の関数でも利用可能となります.
+            
         </para>
+        
         <para>
-          <literal>global</literal>命令を初めて実行した時点で
-          そのグローバス変数が存在しない場合,空行列に初期化されます.
+            
+            <literal>global</literal>命令を初めて実行した時点で
+            
+            そのグローバス変数が存在しない場合,空行列に初期化されます.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 //最初: 環境でコールし, 関数は変数を共用する
 global a
@@ -54,25 +95,48 @@ initdata()
 letsgo()
 letsgo1()
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="who">who</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="isglobal">isglobal</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="clearglobal">clearglobal</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="gstacksize">gstacksize</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="resume">resume</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index dd90d46..520e9cd 100644 (file)
 <?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="ja" xml:id="insertion">
+    
     <refnamediv>
+        
         <refname>insertion</refname>
+        
         <refpurpose>変数への部分的な代入または修正</refpurpose>
+        
     </refnamediv>
+    
     <refnamediv xml:id="assignation">
+        
         <refname>assignation</refname>
+        
         <refpurpose>変数への部分的な代入</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼出し手順</title>
+        
         <synopsis>x(i,j)=a
+            
             x(i)=a
+            
             l(i)=a
+            
             l(k1)...(kn)(i)=a または l(list(k1,...,kn,i))=a
+            
             l(k1)...(kn)(i,j)=a または l(list(k1,...,kn,list(i,j))=a
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
+        
         <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>任意の型の行列 (定数, 疎行列, 多項式,...)</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>l</term>
+                
                 <listitem>
+                    
                     <para>リスト</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>i,j</term>
+                
                 <listitem>
+                    
                     <para>添え字</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>k1,...kn</term>
+                
                 <listitem>
+                    
                     <para>整数値の添え字</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>a</term>
+                
                 <listitem>
+                    
                     <para>新しいエントリの値</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明n</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>行列の場合</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         <literal>x</literal> が行列の場合,
+                        
                         添え字 <literal>i</literal> および <literal>j</literal>, は次のようになります:
+                        
                     </para>
+                    
                     <variablelist>
+                        
                         <varlistentry>
+                            
                             <term>実数のスカラーまたはベクトルまたは行列</term>
+                            
                             <listitem>
+                                
                                 <para>この場合,添え字として指定される値は正である必要があり,
+                                    
                                     その整数部のみが使用されます.
+                                    
                                 </para>
+                                
                                 <itemizedlist>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             <literal>a</literal> が次元
+                                            
                                             <literal>(size(i,'*'),size(j,'*'))</literal>の行列の場合,
+                                            
                                             <literal>x(i,j)=a</literal> は,
+                                            
                                             <literal>l</literal>を1から <literal>size(i,'*')</literal>,
+                                            
                                             <literal>k</literal>を1から <literal>size(j,'*')</literal>として
+                                            
                                             <literal>x(int(i(l)),int(j(k)))=a(l,k) </literal>となるような
+                                            
                                             新たな行列 <literal>x</literal>を返します.
+                                            
                                             <literal>x</literal>のその他の初期エントリは変更されません.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             <literal>a</literal> がスカラーの場合,
+                                            
                                             <literal>x(i,j)=a</literal> は,
+                                            
                                             <literal>l</literal>を1から<literal>size(i,'*')</literal>,
+                                            
                                             <literal>k</literal>を1から<literal>size(j,'*')</literal>として,
+                                            
                                             <literal>x(int(i(l)),int(j(k)))=a</literal>となるような
+                                            
                                             新しい行列 <literal>x</literal> を返します.
+                                            
                                             <literal>x</literal>のその他の初期エントリは変更されません.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             <literal>i</literal> または <literal>j</literal>
+                                            
                                             の最大値が対応する行列 <literal>x</literal>の次元の最大値を
+                                            
                                             超える場合,配列 <literal>x</literal>は,必要な次元まで事前に拡張されます.
+                                            
                                             この際,標準の行列の場合は0,文字列行列の場合は長さ0の文字列,
+                                            
                                             論理値行列の場合は 値false,をエントリとして拡張されます.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             <literal>x(i,j)=[]</literal> は,
+                                            
                                             <literal>j</literal>が<literal>x</literal>の全ての列にマッチする
+                                            
                                             場合,<literal>i</literal>で指定した行を削除します.
+                                            
                                             また,<literal>i</literal>が<literal>x</literal>の全ての行にマッチする
+                                            
                                             場合,<literal>j</literal>で指定した列を削除します.
+                                            
                                             その他の場合,<literal>x(i,j)=[]</literal>はエラーを発生します.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             あるベクトル<literal>a</literal>を指定した<literal>x(i)=a</literal>は,
+                                            
                                             <literal>l</literal>を1から<literal>size(i,'*')</literal>として,
+                                            
                                             <literal>x(int(i(l)))=a(l)</literal>となるような新しい行列<literal>x</literal>
+                                            
                                             を返します.
+                                            
                                             <literal>x</literal>のその他の初期エントリは変更されません.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             あるスカラー<literal>a</literal>を指定した<literal>x(i)=a</literal>は,
+                                            
                                             <literal>l</literal>を1から<literal>size(i,'*')</literal>として,
+                                            
                                             <literal>x(int(i(l)))=a</literal>となるような新しい行列<literal>x</literal>
+                                            
                                             を返します.
+                                            
                                             <literal>x</literal>のその他の初期エントリは変更されません.
+                                            
                                         </para>
+                                        
                                         <para>
+                                            
                                             <literal>i</literal>の最大値が<literal>size(x,1)</literal>より大きくなる場合,
+                                            
                                             配列 <literal>x</literal>は,必要な次元まで事前に拡張されます.
+                                            
                                             この際,標準の行列の場合は0,文字列行列の場合は長さ0の文字列,
+                                            
                                             論理値行列の場合は 値false,をエントリとして拡張されます.
+                                            
                                         </para>
+                                        
                                         <variablelist>
+                                            
                                             <varlistentry>
+                                                
                                                 <term/>
+                                                
                                                 <listitem>
+                                                    
                                                     <para>
+                                                        
                                                         <literal>x</literal> が 1x1行列 の場合,
+                                                        
                                                     </para>
+                                                    
                                                     <para>
+                                                        
                                                         <literal>a</literal> は,次元
+                                                        
                                                         <literal>size(i,'*')</literal>を有する
+                                                        
                                                         行 (各要素が1列) ベクトルとなります.
+                                                        
                                                         結果として,行列<literal>x</literal>は行ベクトル
+                                                        
                                                         (各要素が1列)となります.
+                                                        
                                                     </para>
+                                                    
                                                 </listitem>
+                                                
                                             </varlistentry>
+                                            
                                             <varlistentry>
+                                                
                                                 <term/>
+                                                
                                                 <listitem>
+                                                    
                                                     <para>
+                                                        
                                                         <literal>x</literal> が行ベクトルの場合,
+                                                        
                                                     </para>
+                                                    
                                                     <para>
+                                                        
                                                         <literal>a</literal> は次元<literal>size(i,'*')</literal>
+                                                        
                                                         を有する行ベクトルである必要があります.
+                                                        
                                                     </para>
+                                                    
                                                 </listitem>
+                                                
                                             </varlistentry>
+                                            
                                             <varlistentry>
+                                                
                                                 <term/>
+                                                
                                                 <listitem>
+                                                    
                                                     <para>
+                                                        
                                                         <literal>x</literal> が列ベクトルの場合,
+                                                        
                                                     </para>
+                                                    
                                                     <para>
+                                                        
                                                         <literal>a</literal> は次元<literal>size(i,'*')</literal>
+                                                        
                                                         を有する列ベクトルである必要があります.
+                                                        
                                                     </para>
+                                                    
                                                 </listitem>
+                                                
                                             </varlistentry>
+                                            
                                             <varlistentry>
+                                                
                                                 <term/>
+                                                
                                                 <listitem>
+                                                    
                                                     <para>
+                                                        
                                                         <literal>x</literal> が一般の行列の場合,
+                                                        
                                                     </para>
+                                                    
                                                     <para>
+                                                        
                                                         <literal>a</literal> は次元が<literal>size(i,'*')</literal>の
+                                                        
                                                         行または列ベクトルである必要があります.
+                                                        
                                                         また,<literal>i</literal>の最大値は<literal>size(x,'*')</literal>
+                                                        
                                                         を超えることはできません.
+                                                        
                                                     </para>
+                                                    
                                                 </listitem>
+                                                
                                             </varlistentry>
+                                            
                                         </variablelist>
+                                        
                                     </listitem>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             <literal>x(i)=[]</literal>は,
+                                            
                                             <literal>i</literal>で指定したエントリを削除します.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                 </itemizedlist>
+                                
                             </listitem>
+                            
                         </varlistentry>
+                        
                         <varlistentry>
+                            
                             <term>: 記号</term>
+                            
                             <listitem>
+                                
                                 <para>
+                                    
                                     <literal>:</literal>記号は"全ての要素"を意味します.
+                                    
                                 </para>
+                                
                                 <itemizedlist>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             <literal>x(i,:)=a</literal>は,
+                                            
                                             <literal>x(i,1:size(x,2))=a</literal>と解釈されます.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             <literal>x(:,j)=a</literal>は,
+                                            
                                             <literal>x(1:size(x,1),j)=a</literal>と解釈されます.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                     <listitem>
+                                        
                                         <para>
+                                            
                                             <literal>x(:)=a</literal> は,
+                                            
                                             行列<literal>a</literal>をxの次元に変形した
+                                            
                                             <literal>x</literal>を返します.
+                                            
                                             <literal>size(x,'*')</literal> は,
+                                            
                                             <literal>size(a,'*')</literal>に等しい必要があります.
+                                            
                                         </para>
+                                        
                                     </listitem>
+                                    
                                 </itemizedlist>
+                                
                             </listitem>
+                            
                         </varlistentry>
+                        
                         <varlistentry>
+                            
                             <term>論理値のベクトル</term>
+                            
                             <listitem>
+                                
                                 <para>
+                                    
                                     添え字 (<literal>i</literal> または <literal>j</literal> )が
+                                    
                                     論理値のベクトルの場合,それぞれ<literal>find(i)</literal>または
+                                    
                                     <literal>find(j)</literal>として解釈されます.
+                                    
                                 </para>
+                                
                             </listitem>
+                            
                         </varlistentry>
+                        
                         <varlistentry>
+                            
                             <term>多項式</term>
+                            
                             <listitem>
+                                
                                 <para>
+                                    
                                     添え字 (<literal>i</literal> または <literal>j</literal> )が
+                                    
                                     多項式のベクトルまたは暗黙の多項式ベクトルの場合,
+                                    
                                     それぞれ <literal>horner(i,m)</literal>または<literal>horner(j,n)</literal>
+                                    
                                     と解釈されます.
+                                    
                                     ただし,<literal>m</literal> および<literal>n</literal>は
+                                    
                                     <literal>x</literal>の次元です.
+                                    
                                     この機能は全ての多項式で動作しますが,
+                                    
                                     可読性の維持のため,<literal>$</literal>の中で多項式を使用することを
+                                    
                                     推奨します.
+                                    
                                 </para>
+                                
                             </listitem>
+                            
                         </varlistentry>
+                        
                     </variablelist>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>listまたはtlistの場合</term>
+                
                 <listitem>
+                    
                     <itemizedlist>
+                        
                         <listitem>
+                            
                             <para>
+                                
                                 指定された場合,
+                                
                                 <literal>ki</literal>は<literal>l</literal>データ構造
+                                
                                 のサブリストのエントリへのパスを指定します.
+                                
                                 これにより,中間的なコピーをすることなく再帰的な挿入が
+                                
                                 可能になります.
+                                
                                 命令<literal>l(k1)...(kn)(i)=a</literal>および
+                                
                                 <literal>l(list(k1,...,kn,i)=a)</literal>は
+                                
                                 以下のように解釈されます:
+                                
                             </para>
+                            
                             <para>
+                                
                                 <literal>lk1 = l(k1)</literal>
+                                
                                 <literal> ..  = ..  </literal>
+                                
                             </para>
+                            
                             <para>
+                                
                                 <literal>lkn = lkn-1(kn)</literal>
+                                
                                 <literal> lkn(i) = a</literal>
+                                
                             </para>
+                            
                             <para>
+                                
                                 <literal>lkn-1(kn) = lkn</literal>
+                                
                                 <literal> ..  = ..  </literal>
+                                
                                 <literal>l(k1) = lk1</literal>
+                                
                             </para>
+                            
                             <para>
+                                
                                 命令<literal>l(k1)...(kn)(i,j)=a</literal> および  <literal>l(list(k1,...,kn,list(i,j))=a</literal>
+                                
                                 は以下のように解釈されます:
+                                
                             </para>
+                            
                             <para>
+                                
                                 <literal>lk1 = l(k1)</literal>
+                                
                                 <literal> ..  = ..  </literal>
+                                
                             </para>
+                            
                             <para>
+                                
                                 <literal>lkn = lkn-1(kn)</literal>
+                                
                                 <literal>lkn(i,j) = a</literal>
+                                
                             </para>
+                            
                             <para>
+                                
                                 <literal>lkn-1(kn) = lkn</literal>
+                                
                                 <literal> ..  = ..  </literal>
+                                
                                 <literal>l(k1)= lk1</literal>
+                                
                             </para>
+                            
                         </listitem>
+                        
                         <listitem>
+                            
                             <para>
+                                
                                 <literal>i</literal> は以下のようになります :
+                                
                             </para>
+                            
                             <itemizedlist>
+                                
                                 <listitem>
+                                    
                                     <para>
+                                        
                                         実数の非負のスカラー.
+                                        
                                         <literal>l(0)=a</literal>はリストの"左"にエントリを追加します.
+                                        
                                         <literal>l(i)=a</literal>はリストの<literal>i</literal>番目の
+                                        
                                         エントリに<literal>a</literal>を設定します.
+                                        
                                         <literal>i&gt;size(l)</literal>の場合,
+                                        
                                         <literal>l</literal>は長さ0のエントリ(未定義)で事前に拡張されます.
+                                        
                                         <literal>l(i)=null()</literal> は, <literal>i</literal>番目の
+                                        
                                         リストのエントリを削除します.
+                                        
                                     </para>
+                                    
                                 </listitem>
+                                
                                 <listitem>
+                                    
                                     <para>
+                                        
                                         多項式.  <literal>i</literal> が多項式の場合,
+                                        
                                         <literal>horner(i,m)</literal>として解釈されます.
+                                        
                                         ただし, <literal>m=size(l)</literal>です.
+                                        
                                         この機能は全ての多項式で動作しますが,
+                                        
                                         可読性の維持のため,<literal>$</literal>の中で多項式を使用することを
+                                        
                                         推奨します.
+                                        
                                     </para>
+                                    
                                 </listitem>
+                                
                             </itemizedlist>
+                            
                         </listitem>
+                        
                         <listitem>
+                            
                             <para>
+                                
                                 <literal>k1,..kn</literal> は次のようになります :
+                                
                             </para>
+                            
                             <itemizedlist>
+                                
                                 <listitem>
+                                    
                                     <para>
+                                        
                                         実数の正のスカラー.
+                                        
                                     </para>
+                                    
                                 </listitem>
+                                
                                 <listitem>
+                                    
                                     <para>
+                                        
                                         多項式,<literal>horner(ki,m)</literal>として解釈されます.
+                                        
                                         ただし,<literal>m</literal>は対応するサブリストの大きさです.
+                                        
                                     </para>
+                                    
                                 </listitem>
+                                
                                 <listitem>
+                                    
                                     <para> サブリストのエントリ名を指す文字列.</para>
+                                    
                                 </listitem>
+                                
                             </itemizedlist>
+                            
                         </listitem>
+                        
                     </itemizedlist>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>注意</title>
+        
         <para>
+            
             有理関数や状態空間線形システムのようにソフトウエアで作成される行列の型の場合,
+            
             リストの要素の展開と区別できないため,
+            
             <literal>x(i)</literal> 構文をベクトル要素の挿入には使用できない可能性が
+            
             あります.
+            
             この場合,
+            
             <literal>x(1,j)</literal> または <literal>x(i,1)</literal>構文を使用する必要があります.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[
 // MATRIX CASE
 a=[1 2 3;4 5 6]
@@ -407,22 +783,42 @@ dts=list(1,tlist(['x';'a';'b'],10,[2 3]));
 dts(2).a=33
 dts(2)('b')(1,2)=-100
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="find">find</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="horner">horner</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="parentheses">parentheses</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="extraction">extraction</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index a7cbace..0d23104 100644 (file)
@@ -607,8 +607,8 @@ _MathML_bvode.xml_9.png=3b57ed40251a3a9a66f84e960d45b517
 _MathML_bvode.xml_ru_RU_10.png=feaee80fc677920029dac0d5b539507a
 _MathML_bvode.xml_ru_RU_17.png=1f47e9a3a469e6f8e4fee9cefe7ccc38
 _MathML_bvode.xml_ru_RU_7.png=bf99445553185140244e57466f859bd5
-_MathML_convol.xml_1.png=99ca156723e23394e879c2035745d736
-_MathML_cspect.xml_1.png=1219d0564561afe97ea367612399e26a
+_MathML_convol.xml_1.png=3b1debed23e3457f489294cc74549833
+_MathML_cspect.xml_1.png=3f7ba8d110343602751677e185e63271
 _MathML_delip.xml_1.png=69d9a5b9453c4b10349d9c25e33f0a64
 _MathML_integrate.xml_1.png=905e696eacda4fe1df6c72b6bbb8a0d3
 _MathML_integrate.xml_2.png=e674adcfdb3435295438f0d040596095
@@ -730,7 +730,7 @@ cepstrum_1.png=455b8e394db80f8bb6fb8c656a069af3
 champ1_1.png=d2aacf45d80c8edf7c95a54af1533ce4
 champ1_2.png=bc00271f4944a350125eb5b3c40d48c1
 champ_1.png=c0e293f757cc87203308abb3d0bd5823
-champ_2.png=83eb5af09a3e46812639bf482ce290e4
+champ_2.png=c0e293f757cc87203308abb3d0bd5823
 champ_3.png=83eb5af09a3e46812639bf482ce290e4
 champ_4.png=e46cb90fcd5bcc2552ee046eb1a1f216
 champ_properties_1.png=6409c708318038fda6b54aacc96937eb
@@ -751,7 +751,7 @@ colorbar_ru_RU_2.png=6dc5d0a74530277a5d477807cd103132
 colorbar_ru_RU_3.png=93a18371c5b92018a5c8ed392b75e772
 colormap_1.png=34ff30f6dc35ee879709c132e444cf23
 contour2d_1.png=ca9b620f09fbcc77799e2286b6730e2d
-contour2d_2.png=e618038e4b44d84ce4b6ae2fe5420951
+contour2d_2.png=ca9b620f09fbcc77799e2286b6730e2d
 contour2d_3.png=e618038e4b44d84ce4b6ae2fe5420951
 contour2d_en_US_3.png=b210ca5f70b33677912b389f9712db1a
 contour2d_fr_FR_3.png=b210ca5f70b33677912b389f9712db1a
@@ -1159,7 +1159,7 @@ subplot_1.png=4178b6def9655a23b78ab238c2380d5f
 summercolormap_1.png=b6e693f0c3ddcfcb7271926e20457ebd
 surf_1.png=89b9bf883d751093a226a0dce8f3b7da
 surf_10.png=c18da91e3465c1e46c633a9a5b1c86b8
-surf_2.png=9755ffe0e0ca214daeaf0f200c719ff2
+surf_2.png=d0e66f30d3c02be0fa362606a5b9e6cd
 surf_3.png=b7fc5c92f7af023772f0635325506b40
 surf_4.png=b37a3913244ede26ae72985a07e28217
 surf_5.png=cd8d74dffc9ff1d21f1afbf98297c8ee
index 11452cb..b675e05 100644 (file)
Binary files a/scilab/modules/helptools/images/_MathML_convol.xml_1.png and b/scilab/modules/helptools/images/_MathML_convol.xml_1.png differ
index 2498622..8c0b3af 100644 (file)
Binary files a/scilab/modules/helptools/images/_MathML_cspect.xml_1.png and b/scilab/modules/helptools/images/_MathML_cspect.xml_1.png differ
index b4faa48..7380bf6 100644 (file)
 <?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="ja" xml:id="cepstrum">
+    
     <refnamediv>
+        
         <refname>cepstrum</refname>
+        
         <refpurpose>ケプストラム計算</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>fresp = cepstrum(w,mag)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>w</term>
+                
                 <listitem>
-                    <para>周波数の実数ベクトル (rad/sec)</para>
+                    
+                    <para>周波数の実数ベクトル(正) (rad/sec)</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>mag</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         振幅の実数ベクトル (<literal>w</literal>と同じ大きさ)
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>fresp</term>
+                
                 <listitem>
+                    
                     <para>複素ベクトル</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>fresp = cepstrum(w,mag)</literal> は,
+            
             周波数<literal>w(i)</literal>における振幅が<literal>mag(i)</literal>で,
-            <literal>freq</literal>の位相ふぁ安定で最小位相システムとなる
+            
+            <literal>freq</literal>の位相が安定な最小位相システムとなる
+            
             周波数応答<literal>fresp(i)</literal>を返します.
+            
             <literal>w</literal> はソートされている必要はありませんが,
+            
             エントリの最小値がゼロに近くなることはできず,
-            <literal>w</literal>のエントリは異なっている必要があります.
+            
+            <literal>w</literal>のエントリは全て異なる必要があります.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 w=0.1:0.1:5;mag=1+abs(sin(w));
 fresp=cepstrum(w,mag);
 plot2d([w',w'],[mag(:),abs(fresp)])
  ]]></programlisting>
+        
+        <scilab:image>
+            
+            w=0.1:0.1:5;mag=1+abs(sin(w));
+            
+            fresp=cepstrum(w,mag);
+            
+            plot2d([w',w'],[mag(:),abs(fresp)])
+            
+        </scilab:image>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="frfit">frfit</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index e3d523a..51c3baa 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Add some comments about XML file
 -->
+
 <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_JP" xml:id="conv">
+    
     <refnamediv>
+        
         <refname>conv</refname>
+        
         <refpurpose>離散一次元畳み込み</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>C = conv(A,B [,shape])</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
+        
         <title>パラメータ</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>A</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         実数または複素数ベクトル.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>B</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         実数または複素数ベクトル.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>shape</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         オプション文字列で値は以下のどれか:
+                        
                     </para>
+                    
                     <itemizedlist>
+                        
                         <listitem>
+                            
                             <literal>"full"</literal>, <literal>conv</literal>
+                            
                             は完全な畳み込みを計算します. これがデフォルト値です.
+                            
                         </listitem>
+                        
                         <listitem>
+                            
                             <literal>"same"</literal>, <literal>conv</literal>
+                            
                             は<literal>A</literal>と同じ大きさの畳み込みの
+                            
                             中央部を計算します.
+                            
                         </listitem>
+                        
                         <listitem>
+                            
                             <literal>"valid"</literal>, <literal>conv</literal>
+                            
                             は<literal>A</literal>のゼロパディングなしの畳み込み部分を計算します.
+                            
                         </listitem>
+                        
                     </itemizedlist>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>C</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         実数または複素数ベクトル.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>conv</literal>は空間的な1次元畳み込み方程式の
+            
             一般的な実装を使用します.
+            
         </para>
+        
         <para>
+            
             <literal>C=conv(A,B [,shape])</literal> はベクトル
+            
             <literal>A</literal>および <literal>B</literal>の一次元畳み込みを
+            
             計算します:
+            
         </para>
+        
         <itemizedlist>
+            
             <listitem>
+                
                 <literal>shape=="full"</literal>を指定した場合、
+                
                 結果<literal>C</literal>の次元は
+                
                 <literal>size(A,'*')+size(B,'*')+1</literal>となります. 
+                
                 <literal>B</literal>の中心要素の添字は
+                
                 <literal>floor((size(B,'*')+1)/2)</literal>となります.
+                
             </listitem>
+            
             <listitem>
+                
                 <literal>shape=="same"</literal> を指定した場合,
+                
                 結果<literal>C</literal>の次元は
+                
                 <literal>size(A)</literal>となります.
+                
                 <literal>B</literal>の中心要素の添字は
+                
                 <literal>floor((size(B,'*')+1)/2)</literal>となります.
+                
             </listitem>
+            
             <listitem>
+                
                 <literal>shape=="valid"</literal> を指定した場合,
+                
                 結果<literal>C</literal>の次元は
+                
                 <literal>and(size(A,'*')-size(B,'*'))&gt;=0</literal>の場合
+                
                 <literal>size(A,'*')-size(B,'*')+1)</literal>,
+                
                 それ以外は
+                
                 <literal>C</literal>が空となります.
+                
                 <literal>B</literal>の中心要素の添字は
+                
                 <literal>1</literal>となります.
+                
             </listitem>
+            
         </itemizedlist>
+        
+        <para>
+            
+            大きな配列に対しては,
+            
+            <link linkend="convol">convol</link> の方がより効率的
+            
+            となる可能性があることに注意してください.
+            
+        </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[
         A=1:10;
         B=[1 -1];
         conv(A,B)
     ]]></programlisting>
+        
     </refsection>
+    
     <refsection>
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="convol">convol</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="conv2">conv2</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>使用される関数</title>
+        
         <para>
+            
             conv関数は組込み関数<link linkend="conv2">conv2</link>に基づいています.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>履歴</title>
+        
         <revhistory>
+            
             <revision>
+                
                 <revnumber>5.4.0</revnumber>
+                
                 <revremark>関数convが導入されました.</revremark>
+                
             </revision>
+            
         </revhistory>
+        
     </refsection>
+    
 </refentry>
+
index bd72113..53859b9 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
+
 <!--
  * Add some comments about XML file
 -->
+
 <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_JP" xml:id="conv2">
+    
     <refnamediv>
+        
         <refname>conv2</refname>
+        
         <refpurpose>離散 2-D 畳み込み. </refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>
+            
             C = conv2(A,B [,shape])
+            
             C = conv2(hrow,hcol,B [,shape])
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
+        
         <title>パラメータ</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>hrow</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         実数または複素数ベクトル.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>hcol</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         実数または複素数ベクトル.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>A</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         実数または複素数二次元配列.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>B</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         実数または複素数二次元配列.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>shape</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         オプション文字列で値は以下のどれか:
+                        
                     </para>
+                    
                     <itemizedlist>
+                        
                         <listitem>
+                            
                             <literal>"full"</literal>, <literal>conv2</literal>
+                            
                             は完全な2次元畳み込みを計算します. これがデフォルト値です.
+                            
                         </listitem>
+                        
                         <listitem>
+                            
                             <literal>"same"</literal>, <literal>conv2</literal>
+                            
                             は<literal>A</literal>と同じ大きさの畳み込みの
+                            
                             中央部を計算します.
+                            
                         </listitem>
+                        
                         <listitem>
+                            
                             <literal>"valid"</literal>, <literal>conv2</literal>
+                            
                             は<literal>A</literal>のゼロパディングなしの畳み込み部分を計算します.
+                            
                         </listitem>
+                        
                     </itemizedlist>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>C</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         実数または複素数二次元配列.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>conv2</literal>は空間的な2次元畳み込み方程式の
+            
             一般的な実装を使用します.
+            
         </para>
+        
         <para>
+            
             <literal>C=conv2(A,B [,shape])</literal> 
+            
             はベクトル
+            
             <literal>A</literal>および <literal>B</literal>の2次元畳み込みを
+            
             計算します:
+            
         </para>
+        
         <itemizedlist>
+            
             <listitem>
+                
                 <literal>shape=="full"</literal> 
+                
                 を指定した場合、結果<literal>C</literal>の次元は
+                
                 <literal>size(A)+size(B)+1</literal>となります.
+                
                 <literal>B</literal>の中心要素の添字は
+                
                 <literal>floor((size(B)+1)/2)</literal>となります.    
+                
             </listitem>
+            
             <listitem>
+                
                 <literal>shape=="same"</literal> を指定した場合、
+                
                 結果<literal>C</literal>の次元は <literal>size(A)</literal>となります. 
+                
                 <literal>B</literal>の中心要素の添字は
+                
                 <literal>floor((size(B)+1)/2)</literal>となります.
+                
             </listitem>
+            
             <listitem>
+                
                 <literal>shape=="valid"</literal>を指定した場合、
+                
                 結果<literal>C</literal>の次元は, 
+                
                 <literal>and(size(A)-size(B))&gt;=0</literal>の場合に
+                
                 <literal>size(A)-size(B)+1)</literal>,それ以外の場合に
+                
                 <literal>C</literal>は空となります. 
+                
                 <literal>B</literal> の中心要素の添字は
+                
                 <literal>[1 1]</literal>となります.
+                
             </listitem>
+            
         </itemizedlist>
+        
         <para>
+            
             The separable form 
+            
             可分割形式 <literal>C=conv2(hrow,hcol,B [,shape])</literal>は
+            
             <literal>C=conv2(hrow(:)*hcol(:).',B [,shape])</literal>と等価です.
+            
         </para>
+        
+        <para>
+            
+            大きな配列に対しては,
+            
+            <link linkend="convol2d">convol2d</link> の方がより効率的
+            
+            となる可能性があることに注意してください.
+            
+        </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[
     s = [1 2 1; 0 0 0; -1 -2 -1];//Sobel horizontal edge kernel
     A = zeros(10,10);A(3:7,3:7) = 1;
     u=[1;0;-1];v=[1 2 1];// u*v=s
     conv2(u,v,A)
     ]]></programlisting>
+        
     </refsection>
+    
     <refsection>
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="convol2d">convol2d</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="conv">conv</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>履歴</title>
+        
         <revhistory>
+            
             <revision>
+                
                 <revnumber>5.4.0</revnumber>
+                
                 <revremark>関数 conv2 が導入されました.</revremark>
+                
             </revision>
+            
         </revhistory>
+        
     </refsection>
+    
 </refentry>
+
index bdab29e..3fd5a9d 100644 (file)
 <?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="ja" xml:id="detrend">
+    
     <refnamediv>
+        
         <refname>detrend</refname>
+        
         <refpurpose>
+            
             ベクトルから定数, 線形または区分線形トレンドを削除する
+            
         </refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y = detrend(x)
+            
             y = detrend(x,flag)
+            
             y = detrend(x,flag,bp)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>実数または複素数のベクトルまたは行列 (扱う信号)
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>flag</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         線形または区分線形処理の場合は "linear" (または "l"),
+                        
                         定数処理の場合は "constant" (または "c") に等しい文字列.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>bp</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         区分線形処理を行う場合に使用する区切点. 
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
+                    
                     <para>出力, 信号x からトレンドを除いたもの.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             この関数は,ベクトル<literal>x</literal>から定数または線形または
+            
             区分線形トレンドを削除します. 一般に
+            
             この関数はフーリエ解析の前に使うと便利です.
+            
             <literal>x</literal> が行列の場合, この関数は
+            
             x の各列のトレンドを除去します.
+            
         </para>
+        
         <para>
+            
             <literal>flag</literal> = "constant" or "c"  <literal>detrend</literal> 
+            
             が定数トレンドを削除する場合,
+            
             そして,<literal>flag</literal> = "linear"または"l"の場合,
+            
             この関数は線形トレンドを削除します.
+            
             3番目の引数<literal>bp</literal>を追加することにより,
+            
             連続<emphasis>区分線形</emphasis>トレンドを削除することができます.
+            
             信号 <literal>x</literal>の"instants" は 0 から m-1 となることに注意してください
+            
             (xがベクトルの場合は m = length(x), x が行列の場合はm = size(x,1)).
+            
             このため,区切点<literal>bp(i)</literal>は,
+            
             <emphasis>[0 m-1]</emphasis> の範囲の実数とする必要があります
+            
             (範囲外の区切点は<literal>bp</literal>ベクトルから除かれます).
+            
         </para>
+        
         <para>
+            
             トレンドは,適当な関数空間における<literal>x</literal>の最小二乗フィッティング
+            
             により取得されます.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
-// 例 #1
 t = linspace(0,16*%pi,1000)';
 x = -20 + t + 0.3*sin(0.5*t) + sin(t) + 2*sin(2*t) + 0.5*sin(3*t); 
 y = detrend(x);
@@ -87,7 +166,27 @@ clf()
 plot2d(t,[x y],style=[2 5])
 legend(["before detrend","after detrend"]);
 xgrid()
-// 例 #2
+ ]]></programlisting>
+        
+        <scilab:image>
+            
+            t = linspace(0,16*%pi,1000)';
+            
+            x = -20 + t + 0.3*sin(0.5*t) + sin(t) + 2*sin(2*t) + 0.5*sin(3*t); 
+            
+            y = detrend(x);
+            
+            clf()
+            
+            plot2d(t,[x y],style=[2 5])
+            
+            legend(["before detrend","after detrend"]);
+            
+            xgrid()
+            
+        </scilab:image>
+        
+        <programlisting role="example"><![CDATA[ 
 t = linspace(0,32*%pi,2000)';
 x = abs(t-16*%pi) + 0.3*sin(0.5*t) + sin(t) + 2*sin(2*t) + 0.5*sin(3*t); 
 y = detrend(x,"linear",1000);
@@ -96,5 +195,26 @@ plot2d(t,[x y],style=[2 5])
 legend(["before detrend","after detrend"]);
 xgrid()
  ]]></programlisting>
+        
+        <scilab:image>
+            
+            t = linspace(0,32*%pi,2000)';
+            
+            x = abs(t-16*%pi) + 0.3*sin(0.5*t) + sin(t) + 2*sin(2*t) + 0.5*sin(3*t); 
+            
+            y = detrend(x,"linear",1000);
+            
+            clf()
+            
+            plot2d(t,[x y],style=[2 5])
+            
+            legend(["before detrend","after detrend"]);
+            
+            xgrid()
+            
+        </scilab:image>
+        
     </refsection>
+    
 </refentry>
+
index 529ef3f..23192f4 100644 (file)
 <?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="ja" xml:id="fft2">
+    
     <refnamediv>
+        
         <refname>fft2</refname>
+        
         <refpurpose>2次元高速フーリエ変換</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y=fft2(x)
+            
             y=fft2(x,n,m)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>ベクトル/行列/配列 (実数または複素数)</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
+                    
                     <para>ベクトル/行列/配列 (実数または複素数)</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>m</term>
+                
                 <listitem>
+                    
                     <para>整数, 行の数.</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>n</term>
+                
                 <listitem>
+                    
                     <para>整数, 列の数.</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <programlisting role=""><![CDATA[ 
 この関数は2次元離散フーリエ変換を行ないます.
  ]]></programlisting>
+        
         <para>
+            
             <literal>y=fft2(x)</literal>y および x は同じ大きさとなります.
+            
         </para>
+        
         <para>
+            
             <literal>y=fft2(x,m,n):</literal><literal>m</literal> (もしくは
+            
             <literal>n</literal>) が<literal>x</literal>の行(もしくは列)の数よりも小さい場合,
+            
             <literal>x</literal> の行(もしくは列)の数が丸められます.
+            
             また, m (もしくは <literal>n</literal>)      が<literal>x</literal>
+            
             の行(もしくは列)の数よりも大きい場合,
+            
             <literal>x</literal>の行(もしくは列)は 0 で補完されます.
+            
         </para>
+        
         <para>
+            
             <literal>x</literal> が行列の場合, <literal>y</literal> も行列となります.
+            
             <literal>x</literal>がハイパー行列の場合,<literal>y</literal>もハイパー行列となります.
+            
             この際,
+            
             <literal>y</literal>の最初の次元の大きさは<literal>m</literal>,
+            
             <literal>y</literal>の2番目の次元の大きさは<literal>n</literal>,
+            
             (i&gt;2のハイパー行列の場合,)
+            
             <literal>y</literal>のi番目の次元の大きさは<literal>x</literal>の
+            
             i番目の次元の大きさとなります.
+            
             (すなわち, size(y,1)=m, size(y,2)=n ,そして,i&gt;2 の場合,size(y,i)=size(x,i))
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 //明示的な計算との比較
 a=[1 2 3 ;4 5 6 ;7 8 9 ;10 11 12]  
@@ -85,13 +154,24 @@ a2(j,:)=a2temp.'
 end
 norm(a2-fft2(a))
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="fft">fft</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 5ebf9b7..d86feb1 100644 (file)
 <?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="ja" xml:id="fftshift">
+    
     <refnamediv>
+        
         <refname>fftshift</refname>
+        
         <refpurpose>fft出力を再配置し,スペクトルの中心に周波数0を移動する</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>y=fftshift(x [,job])</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>実数または複素数のベクトルまたは行列.</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
+                    
                     <para>実数または複素数のベクトルまたは行列.</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>job</term>
+                
                 <listitem>
+                    
                     <para>整数, 選択する次元, または文字列 'all'</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>x</literal>がFFT計算の結果の場合,
+            
             <literal>y= fftshift(x)</literal> または <literal>y= fftshift(x,"all")</literal>
+            
             は,扱いが容易な形式である,周波数0要素をよりスペクトルの中心に移動します.
+            
         </para>
+        
         <para>
+            
             <literal>x</literal> が大きさnのベクトルの場合,y はiベクトル
+            
             <literal>x([n/2+1:n,1:n/2])</literal>となります
+            
         </para>
+        
         <para>
+            
             <literal>x</literal>が  <literal>m</literal> 行 <literal>n</literal> 列行列の場合,
+            
             <literal>y</literal> は行列
+            
             <literal>x([m/2+1:n,1:m/2],[n/2+1:n,1:n/2])</literal>となります.
+            
         </para>
+        
         <programlisting role=""><![CDATA[
   [x11 x12]                  [x22 x21]
 x=[       ]        gives   y=[       ]
   [x21 x22]                  [x12 x11]
  ]]></programlisting>
+        
         <para>
+            
             <literal>y= fftshift(x,n)</literal> は<literal>n</literal>番目の次元
+            
             のみについて配置換えを行ないます.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[
 //信号を作成
 t=0:0.1:1000;
 x=3*sin(t)+8*sin(3*t)+0.5*sin(5*t)+3*rand(t);
 //compute the fft
 y=fft(x,-1);
+
 //表示
 clf();
 subplot(2,1,1);plot2d(abs(y))
 subplot(2,1,2);plot2d(fftshift(abs(y)))
+ ]]></programlisting>
+        
+        <scilab:image>
+            
+            t=0:0.1:1000;
+            
+            x=3*sin(t)+8*sin(3*t)+0.5*sin(5*t)+3*rand(t);
+            
+            y=fft(x,-1);
+            
+            subplot(2,1,1);plot2d(abs(y))
+            
+            subplot(2,1,2);plot2d(fftshift(abs(y)))
+            
+        </scilab:image>
+        
+        <programlisting role="example"><![CDATA[
 //2次元画像を作成
 t=0:0.1:30;
 x=3*sin(t')*cos(2*t)+8*sin(3*t')*sin(5*t)+..
   0.5*sin(5*t')*sin(5*t)+3*rand(t')*rand(t);
 //fftを計算
 y=fft(x,-1);
+
 //表示
 clf();
 xset('colormap',hotcolormap(256))
 subplot(2,1,1);Matplot(abs(y))
 subplot(2,1,2);Matplot(fftshift(abs(y)))
  ]]></programlisting>
+        
+        <scilab:image>
+            
+            t=0:0.1:30;
+            
+            x=3*sin(t')*cos(2*t)+8*sin(3*t')*sin(5*t)+..
+            
+            0.5*sin(5*t')*sin(5*t)+3*rand(t')*rand(t);
+            
+            y=fft(x,-1);
+            
+            xset('colormap',hotcolormap(256))
+            
+            subplot(2,1,1);Matplot(abs(y))
+            
+            subplot(2,1,2);Matplot(fftshift(abs(y)))
+            
+        </scilab:image>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="fft">fft</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="ifftshift">ifftshift</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 54aab81..3da6487 100644 (file)
 <?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="ja" xml:id="filt_sinc">
+    
     <refnamediv>
+        
         <refname>filt_sinc</refname>
+        
         <refpurpose>sinc関数の標本</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[x]=filt_sinc(n,fl)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>n</term>
+                
                 <listitem>
+                    
                     <para>標本の数</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>fl</term>
+                
                 <listitem>
+                    
                     <para>ローパスフィルタのカットオフ周波数(単位:Hz).</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>sinc関数の標本</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             <literal>t=-(n-1)/2:(n-1)/2</literal> (つまし,原点が中心)について,
+            
             関数<literal>sin(2*pi*fl*t)/(pi*t)</literal>の標本をn個計算します.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 plot(filt_sinc(100,0.1))
  ]]></programlisting>
+        
+        <scilab:image>
+            
+            plot(filt_sinc(100,0.1))
+            
+        </scilab:image>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="sincd">sincd</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index f9a3584..a70c7ff 100644 (file)
 <?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="ja" xml:id="analpf">
+    
     <refnamediv>
+        
         <refname>analpf</refname>
+        
         <refpurpose>アナログローパスフィルタを作成する</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
-        <synopsis>[hs,pols,zers,gain]=analpf(n,fdesign,rp,omega)</synopsis>
+        
+        <synopsis>
+            
+            [hs,pols,zers,gain]=analpf(n,fdesign,rp,omega)
+            
+            hs=analpf(n,fdesign,rp,omega)
+            
+        </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>n</term>
+                
                 <listitem>
+                    
                     <para>正の整数 : フィルタ次数</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>fdesign</term>
+                
                 <listitem>
+                    
                     <para>
-                        文字列 : フィルタ設計法 : <literal>'butt'</literal> 
-                        または <literal>'cheb1'</literal> または 
-                        <literal>'cheb2'</literal> または <literal>'ellip'</literal>
+                        
+                        文字列 : 以下のようにフィルタ設計手法を示します:
+                        
                     </para>
+                    
+                    <itemizedlist mark="bullet">
+                        
+                        <listitem>
+                            
+                            <para>"butt" は,バターワースフィルタ用です.</para>
+                            
+                        </listitem>
+                        
+                        <listitem>
+                            
+                            <para>"cheb1" は,チェビシェフI型フィルタ用です.</para>
+                            
+                        </listitem>
+                        
+                        <listitem>
+                            
+                            <para>"cheb2" は,チェビシェフII型フィルタ用
+                                
+                                (逆チェビシェフフィルタとも呼ばれます)です.
+                            </para>
+                            
+                        </listitem>
+                        
+                        <listitem>
+                            
+                            <para>"ellip" は,楕円フィルタ用です.</para>
+                            
+                        </listitem>
+                        
+                    </itemizedlist>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>rp</term>
+                
                 <listitem>
-                    <para>cheb1, cheb2 または ellipフィルタ用のエラー値の2要素ベクトルで,
-                        cheb1では<literal>rp(1)</literal> のみ,
-                        cheb2では<literal>rp(2)</literal> のみ,
-                        ellipでは<literal>rp(1)</literal> と <literal>rp(2)</literal>の
-                        両方が使用されます.
-                        <literal>0&lt;rp(1),rp(2)&lt;1</literal>です.
+                    
+                    <para>
+                        
+                        "cheb1", "cheb2"および"ellip"フィルタ用の
+                        
+                        リップル値の2要素ベクトル.
+                        
+                        この要素は以下の関係を満たす必要があります:
+                        
+                        <literal>0&lt;rp(1),rp(2)&lt;1</literal>.
+                        
                     </para>
-                    <variablelist>
-                        <varlistentry>
-                            <term>-  </term>
-                            <listitem>
-                                <para>
-                                    cheb1フィルタの場合, 通過域では, <literal>1-rp(1)&lt;リップル&lt;1</literal>です
-                                </para>
-                            </listitem>
-                        </varlistentry>
-                        <varlistentry>
-                            <term>-  </term>
-                            <listitem>
-                                <para>
-                                    cheb2フィルタの場合,阻止域では <literal>0&lt;リップル&lt;rp(2)</literal> です
-                                </para>
-                            </listitem>
-                        </varlistentry>
-                        <varlistentry>
-                            <term>-  </term>
-                            <listitem>
-                                <para>
-                                    ellipフィルタの場合, 通過域では<literal>1-rp(1)&lt;リップル&lt;1</literal> ,
-                                    阻止域では <literal>0&lt;リップル&lt;rp(2)</literal>です
-                                </para>
-                            </listitem>
-                        </varlistentry>
-                    </variablelist>
+                    
+                    <itemizedlist mark="bullet">
+                        
+                        <listitem>
+                            
+                            <para>
+                                
+                                "cheb1"フィルタの場合, <literal>rp(1)</literal>のみが
+                                
+                                使用されます. 通過域のリップルは,
+                                
+                                <literal>1-rp(1)</literal> および <literal>1</literal>
+                                
+                                の間です.
+                                
+                            </para>
+                            
+                        </listitem>
+                        
+                        <listitem>
+                            
+                            <para>
+                                
+                                "cheb2" フィルタの場合, <literal>rp(2)</literal>のみが
+                                
+                                使用されます. 阻止域のリップルは,
+                                
+                                <literal>0</literal> および
+                                
+                                <literal>rp(2)</literal>の間です. 
+                                
+                            </para>
+                            
+                        </listitem>
+                        
+                        <listitem>
+                            
+                            <para>
+                                
+                                "ellip" フィルタの場合, <literal>rp(1)</literal> および
+                                
+                                <literal>rp(2)</literal> が共に使用されます.  通過域の
+                                
+                                リップルは<literal>1-rp(1)</literal>および<literal>1</literal>の
+                                
+                                間, 一方, 阻止域のリップルは,
+                                
+                                <literal>0</literal> および <literal>rp(2)</literal>の間です. 
+                                
+                            </para>
+                            
+                        </listitem>
+                        
+                    </itemizedlist>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>omega</term>
+                
                 <listitem>
-                    <para>ローパスフィルタのカットオフ周波数(単位:Hz)</para>
+                    
+                    <para>ローパスフィルタのカットオフ周波数(単位:rad/s)</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>hs</term>
+                
                 <listitem>
-                    <para>有理数多項式伝達関数</para>
+                    
+                    <para>
+                        
+                        有理数多項式伝達関数
+                        
+                        (<link linkend="syslin">syslin</link>参照). 
+                        
+                        これは,以下となります:
+                        
+                        <literal>hs=gain*syslin("c",real(poly(zers,"s")),
+                            
+                            real(poly(pols,"s")))
+                            
+                        </literal>
+                        
+                    </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>pols</term>
+                
                 <listitem>
-                    <para>伝達関数の極</para>
+                    
+                    <para>行ベクトル: 伝達関数の極</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>zers</term>
+                
                 <listitem>
-                    <para>伝達関数のゼロ</para>
+                    
+                    <para>行ベクトル: 伝達関数のゼロ</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>gain</term>
+                
                 <listitem>
-                    <para>伝達関数のゲイン</para>
+                    
+                    <para>スカラー: 伝達関数のゲイン</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             omegaをカットオフ周波数とするアナログローパスフィルタを作成します.
+            
+            この関数は,
+            
+            <link linkend="zpbutt">zpbutt</link>, 
+            
+            <link linkend="zpch1">zpch1</link>, 
+            
+            <link linkend="zpch2">zpch2</link>
+            
+            および<link linkend="zpell">zpell</link>関数のドライバです.
+            
+        </para>
+        
+        <para>
+            
+            バターワースフィルタは通過域にリップルを有さず,
+            
+            阻止域においてゼロ方向に緩やかにロールオフします.
+            
+            他のフィルタ型は通過域または阻止域に非単調リップルを
+            
+            有するのに対して,
+            
+            バターワースフィルタは,omegaについてゲインが単調に
+            
+            変換する関数を有します.
+            
+            バターワースフィルタは,他のフィルタよりも
+            
+            通過域でより線形な位相応答を有します.
+            
         </para>
+        
         <para>
-            <literal>hs=gain*poly(zers,'s')/poly(pols,'s')</literal>
+            
+            チェビシェフフィルタは,バターワースフィルタに比べ,
+            
+            より急なロールオフと,より大きな通過域リップル(I型)または
+            
+            阻止域リップル(II型)を有します.
+            
+            チェビシェフフィルタは,フィルタの範囲において
+            
+            理想化されたフィルタと実際のフィルタの間の
+            
+            誤差を最小化する特性を有しますが,
+            
+            通過域にリップルを有します.
+            
         </para>
+        
+        <para>
+            
+            楕円フィルタは通過域と阻止域の両方で
+            
+            均一化したリップル特性を有します.
+            
+            各バンドにおけるリップルの量は独立に調整でき,
+            
+            リップルの値を指定された場合,
+            
+            同じ次数の他のフィルタでは,
+            
+            通過域と阻止域の間で,より速いゲインの遷移を実現できません.
+            
+        </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
-//連続時間系の振幅応答を評価
-hs=analpf(4,'cheb1',[.1 0],5)
-fr=0:.1:15;
-hf=freq(hs(2),hs(3),%i*fr);
-hm=abs(hf);
-plot(fr,hm)
+//Evaluate magnitude response of the filter
+fcut=5; //hz
+n=7;//filter order
+hc1=analpf(n,'cheb1',[0.1 0],fcut*2*%pi);
+hc2=analpf(n,'cheb2',[0 0.1],fcut*2*%pi);
+he=analpf(n,'ellip',[0.1 0.1],fcut*2*%pi);
+hb=analpf(n,'butt',[0 0],fcut*2*%pi);
+hc1.dt='c';hc2.dt='c';he.dt='c';hb.dt='c';
+clf();
+[fr, hf]=repfreq(hc1,0,15);
+plot(fr,abs(hf),'b')
+[fr, hf]=repfreq(hc2,0,15);
+plot(fr,abs(hf),'y')
+[fr, hf]=repfreq(he,0,15);
+plot(fr,abs(hf),'r')
+[fr, hf]=repfreq(hb,0,15);
+plot(fr,abs(hf),'c')
+
+legend(["Chebyshev I","Chebyshev II","Elliptic","Butterworth"]);
+xgrid()
+xlabel("Frequency (Hz)")
+ylabel("Gain")
+title("Analog filters of order 7")
  ]]></programlisting>
+        
+        <para>
+            
+            <scilab:image>
+                
+                fcut=5; //hz
+                
+                n=7;//filter order
+                
+                hc1=analpf(n,'cheb1',[0.1 0],fcut*2*%pi);
+                
+                hc2=analpf(n,'cheb2',[0 0.1],fcut*2*%pi);
+                
+                he=analpf(n,'ellip',[0.1 0.1],fcut*2*%pi);
+                
+                hb=analpf(n,'butt',[0 0],fcut*2*%pi);
+                
+                hc1.dt='c';hc2.dt='c';he.dt='c';hb.dt='c';
+                
+                clf();
+                
+                [fr, hf]=repfreq(hc1,0,15);
+                
+                plot(fr,abs(hf),'b')
+                
+                [fr, hf]=repfreq(hc2,0,15);
+                
+                plot(fr,abs(hf),'y')
+                
+                [fr, hf]=repfreq(he,0,15);
+                
+                plot(fr,abs(hf),'r')
+                
+                [fr, hf]=repfreq(hb,0,15);
+                
+                plot(fr,abs(hf),'c')
+                
+                
+                
+                legend(["Chebyshev I","Chebyshev II","Elliptic","Butterworth"]);
+                
+                xgrid()
+                
+                xlabel("Frequency (Hz)")
+                
+                ylabel("Gain")
+                
+                title("Analog filters of order 7")
+                
+            </scilab:image>
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="repfreq">repfreq</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="bode">bode</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="csim">csim</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="syslin">syslin</link>
+                
+            </member>
+            
+        </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 90fd81b..cb46059 100644 (file)
 <?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="ja" xml:id="buttmag">
+    
     <refnamediv>
+        
         <refname>buttmag</refname>
+        
         <refpurpose>バターワースフィルタの応答</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[h]=buttmag(order,omegac,sample)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>order</term>
+                
                 <listitem>
+                    
                     <para>整数: フィルタ次数</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>omegac</term>
+                
                 <listitem>
-                    <para>実数 : カットオフ周波数(単位:Hz)</para>
+                    
+                    <para>実数 : カットオフ周波数(単位:rad/s)</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>sample</term>
+                
                 <listitem>
+                    
                     <para>
-                        <literal>buttmag</literal>が評価する周波数ベクトル
+                        
+                        角周波数の実数ベクトル(単位:rad/s),
+                        
+                        ただし,伝送を評価する必要があります.
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>h</term>
+                
                 <listitem>
+                    
                     <para>サンプル点におけるバターワースフィルタの値</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             バターワースフィルタの二乗振幅応答
-            <literal>omegac</literal> = カットオフ周波数 ; <literal>sample</literal> = 
-            周波数のサンプル
+            
+            <literal>omegac</literal> = カットオフ周波数 ; 
+            
+            <literal>sample</literal> = サンプル周波数
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 //バターワースフィルタの二乗振幅応答
 h=buttmag(13,300,1:1000);
 mag=20*log(h)'/log(10);
 plot2d((1:1000)',mag,[2],"011"," ",[0,-180,1000,20])
  ]]></programlisting>
+        
+        <scilab:image><![CDATA[
+h=buttmag(13,300,1:1000);
+mag=20*log(h)'/log(10);
+plot2d((1:1000)',mag,[2],"011"," ",[0,-180,1000,20])
+]]>     </scilab:image>
+        
     </refsection>
+    
 </refentry>
+
index d327abf..55db2f2 100644 (file)
 <?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="ja" xml:id="casc">
+    
     <refnamediv>
+        
         <refname>casc</refname>
+        
         <refpurpose>係数からフィルタのカスケード実現を作成</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[cels]=casc(x,z)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         (4xN)-行列. この各列は1つのカスケード要素で,
+                        
                         その最初の2列のエントリは分子の係数,次の2列のエントリは
+                        
                         分母の係数です
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>z</term>
+                
                 <listitem>
+                    
                     <para>カスケード変数を表す文字列</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>cels</term>
+                
                 <listitem>
+                    
                     <para>結果のカスケード表現</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             係数の行列からフィルタのカスケード実現を作成します
+            
             (ユーティリティ関数).
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 x=[1,2,3;4,5,6;7,8,9;10,11,12]
 cels=casc(x,'z')
  ]]></programlisting>
+        
     </refsection>
+    
 </refentry>
+
index 0ac74f5..dfe66c9 100644 (file)
 <?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="ja" xml:id="cheb1mag">
+    
     <refnamediv>
+        
         <refname>cheb1mag</refname>
+        
         <refpurpose>1型チェビシェフフィルタの応答</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[h2]=cheb1mag(n,omegac,epsilon,sample)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>n</term>
+                
                 <listitem>
+                    
                     <para>整数 : フィルタ次数</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>omegac</term>
+                
                 <listitem>
+                    
                     <para>実数 :カットオフ周波数</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>epsilon</term>
+                
                 <listitem>
+                    
                     <para>実数  : 通過域のリップル</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>sample</term>
+                
                 <listitem>
+                    
                     <para>
+                        
                         <literal>cheb1mag</literal>を評価する周波数のベクトル
+                        
                     </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>h2</term>
+                
                 <listitem>
-                    <para>サンプル点におけるチェビシェフI形フィルタ</para>
+                    
+                    <para>サンプル点におけるチェビシェフI型フィルタ</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
-            1型チェビシェフフィルタの二乗振幅応答.
+            
+            I型チェビシェフフィルタの二乗振幅応答.
+            
         </para>
+        
         <para>
+            
             <literal>omegac</literal>=通過域のエッジ.
+            
         </para>
+        
         <para>
-            <literal>epsilon</literal>は
+            
+            <literal>epsilon</literal>は,
+            
             <literal>1/(1+epsilon^2)</literal>=通過域のリップル,となるような
+            
             値です.
+            
         </para>
+        
         <para>
+            
             <literal>sample</literal>は二乗振幅応答を求める周波数のベクトルです.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 //チェビシェフ; 通過域のリップル
 n=13;epsilon=0.2;omegac=3;sample=0:0.05:10;
@@ -71,13 +137,31 @@ h=cheb1mag(n,omegac,epsilon,sample);
 plot2d(sample,h)
 xtitle('','frequencies','magnitude')
  ]]></programlisting>
+        
+        <scilab:image><![CDATA[
+n=13;epsilon=0.2;omegac=3;samples=0:0.05:10;
+h=cheb1mag(n,omegac,epsilon,samples);
+plot2d(samples,h)
+xtitle('','frequencies','magnitude')
+]]>     </scilab:image>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="buttmag">buttmag</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index f06c679..dee2478 100644 (file)
 <?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="ja" xml:id="cheb2mag">
+    
     <refnamediv>
+        
         <refname>cheb2mag</refname>
+        
         <refpurpose>2型チェビシェフフィルタの応答</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[h2]=cheb2mag(n,omegar,A,sample)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>n</term>
+                
                 <listitem>
+                    
                     <para>整数 ;フィルタの次数</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>omegar</term>
+                
                 <listitem>
+                    
                     <para>実数スカラー : カットオフ周波数</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>A</term>
+                
                 <listitem>
+                    
                     <para>阻止域における減衰</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>sample</term>
+                
                 <listitem>
+                    
                     <para>cheb2mag を評価する周波数のベクトル</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>h2</term>
+                
                 <listitem>
-                    <para>サンプル点におけるチェビシェフ II 形フィルタの値のベクトル</para>
+                    
+                    <para>サンプル点におけるチェビシェフ II型フィルタの値のベクトル</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             2型チェビシェフフィルタの二乗振幅応答.
+            
         </para>
+        
         <para>
+            
             <literal>omegar</literal> = 阻止域のエッジ, <literal>sample</literal> = 
+            
             二乗振幅<literal>h2</literal>を取得する周波数のベクトル.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 //チェビシェフ; 阻止域のリップル
 n=10;omegar=6;A=1/0.2;Samples=0.0001:0.05:10;
@@ -68,6 +125,7 @@ plot2d([omegar;omegar],[minval;0],[2],"000");
 attenuation=-log(A*A)/log(10);
 plot2d(Samples',attenuation*ones(Samples)',[5],"000")
  ]]></programlisting>
+        
         <scilab:image><![CDATA[
 n=10;omegar=6;A=1/0.2;Samples=0.0001:0.05:10;
 h2=cheb2mag(n,omegar,A,Samples);
@@ -78,13 +136,24 @@ plot2d([omegar;omegar],[minval;0],[2],"000");
 attenuation=-log(A*A)/log(10);
 plot2d(Samples',attenuation*ones(Samples)',[5],"000")
 ]]>     </scilab:image>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="cheb1mag">cheb1mag</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index e6e4bb8..c791a1e 100644 (file)
 <?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:ns3="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="convol" xml:lang="ja">
+    
     <refnamediv>
+        
         <refname>convol</refname>
+        
         <refpurpose>畳込み(コンボリューション)</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>
+            
             [y]=convol(h,x)
+            
             [y,e1]=convol(h,x,e0)
+            
         </synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+        
+        <title>引数</title>
+        
         <variablelist>
+            
             <varlistentry>
+                
                 <term>h</term>
+                
                 <listitem>
+                    
                     <para>ベクトル, 最初の入力シーケンス ("短い" シーケンス) </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>x</term>
+                
                 <listitem>
+                    
                     <para>ベクトル, 第2の入力シーケンス ( "長い" シーケンス)</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>e0</term>
+                
                 <listitem>
+                    
                     <para>ベクトル,オーバーラップ加算のための前の結果の末尾 (最初のコールでは使用されません)</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>y</term>
+                
                 <listitem>
+                    
                     <para>ベクトル, 畳込み. </para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
             <varlistentry>
+                
                 <term>e1</term>
+                
                 <listitem>
+                    
                     <para>オーバーラップ加算のための新規結果の末尾 (最後のコールでは使用されません)</para>
+                    
                 </listitem>
+                
             </varlistentry>
+            
         </variablelist>
+        
     </refsection>
+    
     <refsection>
+        
         <title>説明</title>
+        
         <para>
+            
             fftを用いて2つの離散シーケンスの畳込み <literal>y= h*x</literal>
+            
             を計算します.
+            
             畳込みは以下のように定義されます:
+            
         </para>
+        
         <para>
+            
             <inlinemediaobject>
+                
                 <imageobject>
+                    
                     <imagedata>
+                        
                         <math:math xmlns:math="http://www.w3.org/1998/Math/MathML">
+                            
                             <math:semantics>
+                                
                                 <math:mrow>
+                                    
                                     <math:msub>
+                                        
                                         <math:mi>y</math:mi>
+                                        
                                         <math:mi>k</math:mi>
+                                        
                                     </math:msub>
+                                    
                                     <math:mo math:stretchy="false">=</math:mo>
+                                    
                                     <math:mrow>
+                                        
                                         <math:mrow>
+                                            
                                             <math:msub>
-                                                <math:mo math:stretchy="false">∑</math:mo>
+                                                
+                                                <math:mo math:stretchy="false">�</math:mo>
+                                                
                                                 <math:mi>j</math:mi>
+                                                
                                             </math:msub>
+                                            
                                             <math:msub>
+                                                
                                                 <math:mi>h</math:mi>
+                                                
                                                 <math:mi>j</math:mi>
+                                                
                                             </math:msub>
+                                            
                                         </math:mrow>
-                                        <math:mo math:stretchy="false">∗</math:mo>
+                                        
+                                        <math:mo math:stretchy="false">*</math:mo>
+                                        
                                         <math:msub>
+                                            
                                             <math:mi>x</math:mi>
+                                            
                                             <math:mrow>
+                                                
                                                 <math:mrow>
+                                                    
                                                     <math:mi>k</math:mi>
+                                                    
                                                     <math:mo math:stretchy="false">+</math:mo>
+                                                    
                                                     <math:mn>1</math:mn>
+                                                    
                                                 </math:mrow>
-                                                <math:mo math:stretchy="false">−</math:mo>
+                                                
+                                                <math:mo math:stretchy="false">-</math:mo>
+                                                
                                                 <math:mi>j</math:mi>
+                                                
                                             </math:mrow>
+                                            
                                         </math:msub>
+                                        
                                     </math:mrow>
+                                    
                                 </math:mrow>
+                                
                                 <math:annotation math:encoding="StarMath 5.0">y_k=sum_j h_j*x_{k+1-j}
+                                    
                                 </math:annotation>
+                                
                             </math:semantics>
+                            
                         </math:math>
+                        
                     </imagedata>
+                    
                 </imageobject>
+                
             </inlinemediaobject>
+            
         </para>
+        
         <para>オーバーラップ加算法を使用できます.</para>
+        
         <para>オーバーラップ加算の使用例: 
+            
             <literal>x=[x1,x2,...,xNm1,xN]</literal>の時,
+            
             最初のコールは,
+            
             <literal>[y1,e1]=convol(h,x1);</literal>
+            
             その後のコール :
+            
             <literal>[yk,ek]=convol(h,xk,ekm1)</literal>; 最後のコール :
+            
             <literal>[yN]=convol(h,xN,eNm1);</literal> 結果は,
+            
             <literal>y=[y1,y2,...,yNm1,yN]</literal>.
+            
         </para>
+        
         <para>
+            
             畳込みの定義に基づくアルゴリズムは,多項式の積として実装されます:
+            
             <literal>y=convol(h,x)</literal>は,
+            
             <literal>y=coeff(poly(h,'z','c')*poly(x,'z','c')</literal>と等価ですが、
+            
             <literal>x</literal>が"長い"配列の場合には,はるかに効率的です.
+            
         </para>
+        
     </refsection>
+    
     <refsection>
+        
         <title>例</title>
+        
         <programlisting role="example"><![CDATA[ 
 x=1:3;
 h1=[1,0,0,0,0];h2=[0,1,0,0,0];h3=[0,0,1,0,0];
@@ -127,19 +247,36 @@ p1=poly(x,'x','coeff')
 p2=poly(h1+h2+h3,'x','coeff')
 p1*p2
  ]]></programlisting>
+        
     </refsection>
+    
     <refsection role="see also">
+        
         <title>参照</title>
+        
         <simplelist type="inline">
+            
             <member>
+                
                 <link linkend="corr">corr</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="fft">fft</link>
+                
             </member>
+            
             <member>
+                
                 <link linkend="pspect">pspect</link>
+                
             </member>
+            
         </simplelist>
+        
     </refsection>
+    
 </refentry>
+
index 4b1d86e..0fb37bd 100644 (file)
 <?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="ja" xml:id="ell1mag">
+    
     <refnamediv>
+        
         <refname>ell1mag</refname>
+        
         <refpurpose>楕円フィルタの振幅</refpurpose>
+        
     </refnamediv>
+    
     <refsynopsisdiv>
+        
         <title>呼び出し手順</title>
+        
         <synopsis>[v]=ell1mag(eps,m1,z)</synopsis>
+        
     </refsynopsisdiv>
+    
     <refsection>
-        <title>パラメータ</title>
+      &n