f8637c3977c1fe4574149fdde3913ee8e4179f34
[scilab.git] / scilab / modules / elementary_functions / help / ru_RU / elementarymatrices / meshgrid.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2008 - INRIA - Farid BELAHCENE
5  *
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  -->
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
17           xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml"
18           xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
19           xmlns:scilab="http://www.scilab.org" xml:id="meshgrid" xml:lang="ru">
20     <refnamediv>
21         <refname>meshgrid</refname>
22         <refpurpose>создаёт матрицы или трёхмерные массивы</refpurpose>
23     </refnamediv>
24     <refsynopsisdiv>
25         <title>Синтаксис</title>
26         <synopsis>
27             [X, Y] = meshgrid(x)
28             [X, Y] = meshgrid(x,y)
29             [X, Y, Z] = meshgrid(x,y,z)
30         </synopsis>
31     </refsynopsisdiv>
32     <refsection>
33         <title>Аргументы</title>
34         <variablelist>
35             <varlistentry>
36                 <term>x, y, z</term>
37                 <listitem>
38                     <para>векторы</para>
39                 </listitem>
40             </varlistentry>
41             <varlistentry>
42                 <term>X, Y, Z</term>
43                 <listitem>
44                     <para>
45                         матрицы, если два входных аргумента, а если входных аргументов три, то трёхмерные массивы
46                     </para>
47                 </listitem>
48             </varlistentry>
49         </variablelist>
50     </refsection>
51     <refsection>
52         <title>Описание</title>
53         <para>Создаёт матрицы или трёхмерные массивы.</para>
54     </refsection>
55     <refsection>
56         <title>Примеры</title>
57         <programlisting role="example"><![CDATA[
58 x = -1:0.1:1;
59 [X, Y] = meshgrid(x);
60 Z = sinc(2*%pi * X.*Y);
61 surf(X, Y, Z)
62      ]]></programlisting>
63         <scilab:image>
64             x = -1:0.1:1;
65             [X,Y] = meshgrid(x);
66             Z = sinc(2*%pi*X.*Y);
67             surf(X, Y, Z)
68         </scilab:image>
69     </refsection>
70     <refsection role="see also">
71         <title>Смотрите также</title>
72         <simplelist type="inline">
73             <member>
74                 <link linkend="ndgrid">ndgrid</link>
75             </member>
76             <member>
77                 <link linkend="feval">feval</link>
78             </member>
79         </simplelist>
80     </refsection>
81 </refentry>