~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/elementary_functions/help/pt_BR/char.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="ISO-8859-1"?>
2
 
<!--
3
 
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4
 
 * Copyright (C) 2008 - INRIA - Farid BELAHCENE
5
 
 * 
6
 
 * This file must be used under the terms of the CeCILL.
7
 
 * This source file is licensed as described in the file COPYING, which
8
 
 * you should have received as part of this distribution.  The terms
9
 
 * are also available at    
10
 
 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11
 
 *
12
 
 -->
13
 
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="char" xml:lang="en">
14
 
  <refnamediv>
15
 
    <refname>char</refname>
16
 
    <refpurpose>fun��o char</refpurpose>
17
 
  </refnamediv>
18
 
  <refsynopsisdiv>
19
 
    <title>Seq��ncia de Chamamento</title>
20
 
    <synopsis>y=char( x)
21
 
      y=char(st1,st2,st3,....)
22
 
    </synopsis>
23
 
  </refsynopsisdiv>
24
 
  <refsection>
25
 
    <title>Par�metros</title>
26
 
    <variablelist>
27
 
      <varlistentry>
28
 
        <term>x</term>
29
 
        <listitem>
30
 
          <para>um cell de arrays de strings, ou um array de c�digos ASCII
31
 
          </para>
32
 
        </listitem>
33
 
      </varlistentry>
34
 
      <varlistentry>
35
 
        <term>st1,st2,st3</term>
36
 
        <listitem>
37
 
          <para>arrays de strings</para>
38
 
        </listitem>
39
 
      </varlistentry>
40
 
      <varlistentry>
41
 
        <term>y:</term>
42
 
        <listitem>
43
 
          <para>vetor (coluna) de strings </para>
44
 
        </listitem>
45
 
      </varlistentry>
46
 
    </variablelist>
47
 
  </refsection>
48
 
  <refsection>
49
 
    <title>Descri��o</title>
50
 
    <para>
51
 
      <literal>Argumento de uma entrada :</literal>
52
 
    </para>
53
 
    <para>
54
 
      Dado um<literal> cell de arrays de strings x</literal>, esta fun��o
55
 
      retorna um vetor de strings <literal>y </literal>no qual as linhas s�o
56
 
      componentes do cell de strings.
57
 
    </para>
58
 
    <para>
59
 
      Dado um<literal> array de c�digos ASCII x,</literal> esta fun��o
60
 
      retorna um array de strings <literal>y</literal> correspondente aos
61
 
      c�digos ASCII. Se dims (<literal>x</literal>)=[n1,n2,n3,n4,....], ent�o o
62
 
      valor retornado tem o mesmo tamanho que o valor de entrada, ao inv�s do
63
 
      segundo dims, dims(<literal>y</literal>)=[n1,n3,n4,..]
64
 
    </para>
65
 
    <para>
66
 
      <literal>Argumento de mais de uma entrada :</literal>
67
 
    </para>
68
 
    <para>
69
 
      Dados <literal>arrays de strings</literal>
70
 
      <literal>st1,st2,st3,...</literal>, esta fun��o retorna um vetor de
71
 
      strings no qual as linhas s�o os componentes de <literal>st1,st2,st3,...
72
 
      </literal>
73
 
      <literal> No vetor </literal><literal>y </literal>o comprimento
74
 
      de todos os strings sti � completado por lacunas, para terem o mesmo
75
 
      comprimento que o comprimento m�ximo de sti.
76
 
    </para>
77
 
  </refsection>
78
 
  <refsection>
79
 
    <title>Exemplos</title>
80
 
    <programlisting role="example"><![CDATA[ 
81
 
//exemplo com uma hipermatriz de c�digos ASCII :
82
 
x=hypermat([4,2,3],61:84);
83
 
y=char(x)
84
 
size(x)
85
 
size(y)
86
 
 
87
 
//Exemplo com mais de um argumento :
88
 
st1="zeros";
89
 
st2=["one","two"];
90
 
st3=["three"];
91
 
y=char(st1,st2,st3)
92
 
size(y)
93
 
//todos os strings s�o completados por "lacunas" para terem o mesmo comprimento : 6
94
 
length(y)
95
 
 ]]></programlisting>
96
 
  </refsection>
97
 
  <refsection role="see also">
98
 
    <title>Ver Tamb�m</title>
99
 
    <simplelist type="inline">
100
 
      <member>
101
 
        <link linkend="asciimat">asciimat</link>
102
 
      </member>
103
 
    </simplelist>
104
 
  </refsection>
105
 
</refentry>