summaryrefslogtreecommitdiff
path: root/modules/interpolation/help/pt_BR/smooth.xml
blob: 7f1678bdd245c64e656442844a55ae6ded49a256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="ISO-8859-1"?>
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="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="smooth" xml:lang="en">
    <refnamediv>
        <refname>smooth</refname>
        <refpurpose>suavização por funções splines</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>Seqüência de Chamamento</title>
        <synopsis>[pt]=smooth(ptd [,step])</synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>Parâmetros</title>
        <variablelist>
            <varlistentry>
                <term>ptd</term>
                <listitem>
                    <para>vetor de reais (2xn)</para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>step</term>
                <listitem>
                    <para>real (passo de discretização das abscissas) </para>
                </listitem>
            </varlistentry>
            <varlistentry>
                <term>pt</term>
                <listitem>
                    <para>vetor de reais (2xn)</para>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <refsection>
        <title>Descrição</title>
        <para>Esta função computa a interpolação por funções splines para um dado
            conjunto de pontos no plano. As coordenadas são
            <literal>(ptd(1,i),ptd(2,i))</literal>. Os componentes
            <literal>ptd(1,:)</literal> devem estar em ordem crescente. O valor padrão
            para o para step é
            <literal>abs(max(ptd(1,:))-min(ptd(1,:)))/100</literal>
        </para>
    </refsection>
    <refsection>
        <title>Exemplos</title>
        <programlisting role="example"><![CDATA[ 
x=[1 10 20 30 40];
y=[1 30 -10 20 40];
plot2d(x',y',[3],"011"," ",[-10,-40,50,50]);
yi=smooth([x;y],0.1);
plot2d(yi(1,:)',yi(2,:)',[1],"000");
 ]]></programlisting>
    </refsection>
    <refsection role="see also">
        <title>Ver Também</title>
        <simplelist type="inline">
            <member>
                <link linkend="splin">splin</link>
            </member>
            <member>
                <link linkend="interp">interp</link>
            </member>
            <member>
                <link linkend="interpln">interpln</link>
            </member>
        </simplelist>
    </refsection>
</refentry>