8435af6ea7dc58af7896f679cc2552b56d4e4e9b
[scilab.git] / scilab / modules / elementary_functions / help / pt_BR / 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:ns3="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="pt">
20     <refnamediv>
21         <refname>meshgrid</refname>
22         <refpurpose>cria matrizes ou arrays 3-D</refpurpose>
23     </refnamediv>
24     <refsynopsisdiv>
25         <title>Seqüência de Chamamento</title>
26         <synopsis>[X, Y] = meshgrid(x)
27             [X, Y] = meshgrid(x,y)
28             [X, Y, Z] = meshgrid(x,y,z)
29         </synopsis>
30     </refsynopsisdiv>
31     <refsection>
32         <title>Parâmetros</title>
33         <variablelist>
34             <varlistentry>
35                 <term>x, y, z</term>
36                 <listitem>
37                     <para>vetores </para>
38                 </listitem>
39             </varlistentry>
40             <varlistentry>
41                 <term>X, Y, Z</term>
42                 <listitem>
43                     <para>matrizes, no caso de dois argumentos de entrada, arrays 3-D,
44                         no caso de 3 argumentos de entrada.
45                     </para>
46                 </listitem>
47             </varlistentry>
48         </variablelist>
49     </refsection>
50     <refsection>
51         <title>Descrição</title>
52         <para>...</para>
53     </refsection>
54     <refsection>
55         <title>Exemplos</title>
56         <programlisting role="example"><![CDATA[
57 x = -1:0.1:1;
58 [X, Y] = meshgrid(x);
59 Z = sinc(2*%pi * X.*Y);
60 surf(X, Y, Z)
61      ]]></programlisting>
62         <scilab:image>
63             x = -1:0.1:1;
64             [X,Y] = meshgrid(x);
65             Z = sinc(2*%pi*X.*Y);
66             surf(X, Y, Z)
67         </scilab:image>
68     </refsection>
69     <refsection role="see also">
70         <title>Ver Também</title>
71         <simplelist type="inline">
72             <member>
73                 <link linkend="ndgrid">ndgrid</link>
74             </member>
75             <member>
76                 <link linkend="feval">feval</link>
77             </member>
78         </simplelist>
79     </refsection>
80 </refentry>