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="quart">
15
<refname>quart</refname>
16
<refpurpose> computation of quartiles
20
<title>Calling Sequence</title>
22
s=quart(x,'r') or m=quart(x,1)
23
s=quart(x,'c') or m=quart(x,2)
27
<title>Arguments</title>
32
<para>real or complex vector or matrix</para>
38
<title>Description</title>
40
For a vector or a matrix x, [q]=quart(x,y)
41
returns in the vector q the quartiles of x.
43
[q]=quart(x,'r') (or, equivalently,
44
[q]=quart(x,1)) are the rowwise percentiles. It
45
returns in each column of the matrix q the
46
quartiles of data in the corresponding column of
50
[q]=quart(x,'c') (or, equivalently,
51
[q]=quart(x,2)) are the columnwise quartiles. It
52
returns in each row of the matrix q the quartiles
53
of data in the corresponding row of x.
57
<title>Examples</title>
58
<programlisting role="example"><![CDATA[
15
<refname>quart</refname>
16
<refpurpose> computation of quartiles
20
<title>Calling Sequence</title>
22
s=quart(x,'r') or m=quart(x,1)
23
s=quart(x,'c') or m=quart(x,2)
27
<title>Arguments</title>
32
<para>real or complex vector or matrix</para>
38
<title>Description</title>
40
For a vector or a matrix x, [q]=quart(x,y)
41
returns in the vector q the quartiles of x.
43
[q]=quart(x,'r') (or, equivalently,
44
[q]=quart(x,1)) are the rowwise percentiles. It
45
returns in each column of the matrix q the
46
quartiles of data in the corresponding column of
50
[q]=quart(x,'c') (or, equivalently,
51
[q]=quart(x,2)) are the columnwise quartiles. It
52
returns in each row of the matrix q the quartiles
53
of data in the corresponding row of x.
57
<title>Examples</title>
58
<programlisting role="example"><![CDATA[
59
59
x=[6 7 0 7 10 4 2 2 7 1;
60
60
6 0 5 5 5 2 0 6 8 10;
61
61
8 6 4 3 5 9 8 3 4 7;
72
72
]]></programlisting>
75
<title>Bibliography</title>
77
Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley & Sons, 1990.
75
<title>Bibliography</title>
77
Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley & Sons, 1990.