* Bug 12862 fixed: intsplin(x,y) ignored imag(y)
[scilab.git] / scilab / modules / differential_equations / help / pt_BR / intsplin.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <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="intsplin" xml:lang="pt">
3     <refnamediv>
4         <refname>intsplin</refname>
5         <refpurpose>integração de dados experimentais por interpolação por
6             spline
7         </refpurpose>
8     </refnamediv>
9     <refsynopsisdiv>
10         <title>Seqüência de Chamamento</title>
11         <synopsis>
12           v = intsplin(y)
13           v = intsplin(x, y)
14         </synopsis>
15     </refsynopsisdiv>
16     <refsection>
17         <title>Parâmetros</title>
18         <variablelist>
19             <varlistentry>
20                 <term>x</term>
21                 <listitem>
22                     <para>
23                         vetor de dados de coordenadas <literal>x</literal> crescentes.
24                         O valor padrão é
25                         <literal>1:size(y,'*')</literal>
26                     </para>
27                 </listitem>
28             </varlistentry>
29             <varlistentry>
30                 <term>y</term>
31                 <listitem>
32                     <para>
33                         vetor de dados de coordenadas <literal>y</literal>
34                     </para>
35                 </listitem>
36             </varlistentry>
37             <varlistentry>
38                 <term>v</term>
39                 <listitem>
40                     <para>valor da integral</para>
41                 </listitem>
42             </varlistentry>
43         </variablelist>
44     </refsection>
45     <refsection>
46         <title>Descrição</title>
47         <para>Computa :</para>
48         <para>
49             Onde <literal>f</literal> é uma função descrita por um conjunto de valores
50             experimentais:
51         </para>
52         <para>
53             <literal>y(i)=f(x(i))</literal> e <literal>x0=x(1)</literal>,
54             <literal>x1=x(n)</literal>
55         </para>
56         <para>Entre os pontos da malha a função é interpolada usando-se
57             splines.
58         </para>
59     </refsection>
60     <refsection>
61         <title>Exemplos</title>
62         <programlisting role="example"><![CDATA[
63 t = 0:0.1:%pi
64 intsplin(t,sin(t))
65
66 intsplin(1:5)            // 12
67
68 x = 0:0.1:0.4;
69 intsplin(x, 1:5)         // 1.2
70
71 intsplin((1:5)*%i)       // 12i
72 intsplin(x, (1:5)*%i)    // 1.2i
73 intsplin(x, x+(1:5)*%i)  // 0.08 + 1.2i
74  ]]></programlisting>
75     </refsection>
76     <refsection role="see also">
77         <title>Ver Também</title>
78         <simplelist type="inline">
79             <member>
80                 <link linkend="intg">intg</link>
81             </member>
82             <member>
83                 <link linkend="integrate">integrate</link>
84             </member>
85             <member>
86                 <link linkend="inttrap">inttrap</link>
87             </member>
88             <member>
89                 <link linkend="splin">splin</link>
90             </member>
91         </simplelist>
92     </refsection>
93 </refentry>