2c5efd571d5485860b8d163599d19433afd7e927
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / elementarymatrices / meshgrid.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5  * Copyright (C) 2008 - INRIA - Farid BELAHCENE
6  *
7  * Copyright (C) 2012 - 2016 - Scilab Enterprises
8  *
9  * This file is hereby licensed under the terms of the GNU GPL v2.0,
10  * pursuant to article 5.3.4 of the CeCILL v.2.1.
11  * This file was originally licensed under the terms of the CeCILL v2.1,
12  * and continues to be available under such terms.
13  * For more information, see the COPYING file which you should have received
14  * along with this program.
15  *
16  -->
17
18 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
19           xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml"
20           xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
21           xmlns:scilab="http://www.scilab.org" xml:id="meshgrid" xml:lang="ja">
22
23     <refnamediv>
24
25         <refname>meshgrid</refname>
26
27         <refpurpose>行列または3次元配列を作成</refpurpose>
28
29     </refnamediv>
30
31     <refsynopsisdiv>
32
33         <title>呼び出し手順</title>
34
35         <synopsis>[X, Y] = meshgrid(x)
36
37             [X, Y] = meshgrid(x,y)
38
39             [X, Y, Z] = meshgrid(x,y,z)
40
41         </synopsis>
42
43     </refsynopsisdiv>
44
45     <refsection>
46
47         <title>引数</title>
48
49         <variablelist>
50
51             <varlistentry>
52
53                 <term>x, y, z</term>
54
55                 <listitem>
56
57                     <para>ベクトル</para>
58
59                 </listitem>
60
61             </varlistentry>
62
63             <varlistentry>
64
65                 <term>X, Y, Z</term>
66
67                 <listitem>
68
69                     <para>
70
71                         入力引数が2個の場合は行列,
72
73                         入力引数が3個の場合は3次元配列
74
75                     </para>
76
77                 </listitem>
78
79             </varlistentry>
80
81         </variablelist>
82
83     </refsection>
84
85     <refsection>
86
87         <title>説明</title>
88
89         <para>行列または3次元配列を作成します.</para>
90
91     </refsection>
92
93     <refsection>
94
95         <title>例</title>
96
97         <programlisting role="example"><![CDATA[
98 x = -1:0.1:1;
99 [X, Y] = meshgrid(x);
100 Z = sinc(2*%pi * X.*Y);
101 surf(X, Y, Z)
102      ]]></programlisting>
103         <scilab:image>
104             x = -1:0.1:1;
105             [X,Y] = meshgrid(x);
106             Z = sinc(2*%pi*X.*Y);
107             surf(X, Y, Z)
108         </scilab:image>
109
110     </refsection>
111
112     <refsection role="see also">
113
114         <title>参照</title>
115
116         <simplelist type="inline">
117
118             <member>
119
120                 <link linkend="ndgrid">ndgrid</link>
121
122             </member>
123             <member>
124                 <link linkend="feval">feval</link>
125             </member>
126
127         </simplelist>
128
129     </refsection>
130
131 </refentry>
132