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

« back to all changes in this revision

Viewing changes to modules/statistics/help/en_US/summaries/nfreq.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:
11
11
 *
12
12
 -->
13
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:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="nfreq">
14
 
  <refnamediv>
15
 
    <refname>nfreq</refname>
16
 
    <refpurpose> frequence of the values in a vector or matrix</refpurpose>
17
 
  </refnamediv>
18
 
  <refsynopsisdiv>
19
 
    <title>Calling Sequence</title>
20
 
    <synopsis>m=nfreq(x)</synopsis>
21
 
  </refsynopsisdiv>
22
 
  <refsection>
23
 
    <title>Arguments</title>
24
 
    <variablelist>
25
 
      <varlistentry>
26
 
        <term>x</term>
27
 
        <listitem>
28
 
          <para>real or complex vector or matrix</para>
29
 
        </listitem>
30
 
      </varlistentry>
31
 
    </variablelist>
32
 
  </refsection>
33
 
  <refsection>
34
 
    <title>Description</title>
35
 
    <para>
36
 
      Frequence of the  values in a real or  complex vector or a
37
 
      real or complex matrix <literal>x</literal>.
38
 
    </para>
39
 
    <para>
40
 
      For a real  or complex vector or a  real or complex matrix
41
 
      <literal>x</literal>,  <literal>m=freq(x)</literal> returns in  the first  column of
42
 
      the  <literal>size(x,'*')x2</literal>  matrix  <literal>m</literal>  the  values  of
43
 
      <literal>x</literal>  and  in the  second  column  of  this matrix  the
44
 
      frequences of the corresponding values.
45
 
    </para>
46
 
    <para>
47
 
      Note that the  <link linkend="tabul">tabul</link> function is more efficient, applies
48
 
      also to vector of strings and returns a sorted <literal>m</literal>.
49
 
    </para>
50
 
  </refsection>
51
 
  <refsection>
52
 
    <title>Examples</title>
53
 
    <programlisting role="example"><![CDATA[ 
 
14
    <refnamediv>
 
15
        <refname>nfreq</refname>
 
16
        <refpurpose> frequence of the values in a vector or matrix</refpurpose>
 
17
    </refnamediv>
 
18
    <refsynopsisdiv>
 
19
        <title>Calling Sequence</title>
 
20
        <synopsis>m=nfreq(x)</synopsis>
 
21
    </refsynopsisdiv>
 
22
    <refsection>
 
23
        <title>Arguments</title>
 
24
        <variablelist>
 
25
            <varlistentry>
 
26
                <term>x</term>
 
27
                <listitem>
 
28
                    <para>real or complex vector or matrix</para>
 
29
                </listitem>
 
30
            </varlistentry>
 
31
        </variablelist>
 
32
    </refsection>
 
33
    <refsection>
 
34
        <title>Description</title>
 
35
        <para>
 
36
            Frequence of the  values in a real or  complex vector or a
 
37
            real or complex matrix <literal>x</literal>.
 
38
        </para>
 
39
        <para>
 
40
            For a real  or complex vector or a  real or complex matrix
 
41
            <literal>x</literal>,  <literal>m=freq(x)</literal> returns in  the first  column of
 
42
            the  <literal>size(x,'*')x2</literal>  matrix  <literal>m</literal>  the  values  of
 
43
            <literal>x</literal>  and  in the  second  column  of  this matrix  the
 
44
            frequences of the corresponding values.
 
45
        </para>
 
46
        <para>
 
47
            Note that the  <link linkend="tabul">tabul</link> function is more efficient, applies
 
48
            also to vector of strings and returns a sorted <literal>m</literal>.
 
49
        </para>
 
50
    </refsection>
 
51
    <refsection>
 
52
        <title>Examples</title>
 
53
        <programlisting role="example"><![CDATA[ 
54
54
x=[2 8 0 3 7 6 8 7 9 1]
55
55
m=nfreq(x)
56
56
 ]]></programlisting>
57
 
  </refsection>
58
 
  <refsection role="see also">
59
 
    <title>See Also</title>
60
 
    <simplelist type="inline">
61
 
      <member>
62
 
        <link linkend="tabul">tabul</link>
63
 
      </member>
64
 
      <member>
65
 
        <link linkend="dsearch">dsearch</link>
66
 
      </member>
67
 
      <member>
68
 
        <link linkend="histplot">histplot</link>
69
 
      </member>
70
 
    </simplelist>
71
 
  </refsection>
 
57
    </refsection>
 
58
    <refsection role="see also">
 
59
        <title>See Also</title>
 
60
        <simplelist type="inline">
 
61
            <member>
 
62
                <link linkend="tabul">tabul</link>
 
63
            </member>
 
64
            <member>
 
65
                <link linkend="dsearch">dsearch</link>
 
66
            </member>
 
67
            <member>
 
68
                <link linkend="histplot">histplot</link>
 
69
            </member>
 
70
        </simplelist>
 
71
    </refsection>
72
72
</refentry>