14
14
<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="thrownan">
16
<refname>thrownan</refname>
17
<refpurpose>Eliminates nan values</refpurpose>
20
<title>Calling Sequence</title>
21
<synopsis>[nonan,numb]=thrownan(x)</synopsis>
24
<title>Arguments</title>
30
a m-by-n real or complex matrix of doubles.
31
If the number of columns in <literal>x</literal> is different from 1,
32
then the column-by-column matrix <literal>x</literal> is considered.
40
a (m*n)-by-1 real or complex matrix of doubles, without any %nan entries.
48
a (m*n)-by-1 real or complex matrix of floating point integers, the
49
indices <literal>k</literal> in <literal>x</literal> where <literal>x(k)</literal>
57
<title>Description</title>
59
This function returns in vector <literal>nonan</literal> the values
60
(ignoring the <literal>%nan</literal> entries) of a matrix <literal>x</literal> and
61
in the corresponding places of vector <literal>numb</literal> the
66
<title>Examples</title>
67
<programlisting role="example"><![CDATA[
16
<refname>thrownan</refname>
17
<refpurpose>Eliminates nan values</refpurpose>
20
<title>Calling Sequence</title>
21
<synopsis>[nonan,numb]=thrownan(x)</synopsis>
24
<title>Arguments</title>
30
a m-by-n real or complex matrix of doubles.
31
If the number of columns in <literal>x</literal> is different from 1,
32
then the column-by-column matrix <literal>x</literal> is considered.
40
a (m*n)-by-1 real or complex matrix of doubles, without any %nan entries.
48
a (m*n)-by-1 real or complex matrix of floating point integers, the
49
indices <literal>k</literal> in <literal>x</literal> where <literal>x(k)</literal>
57
<title>Description</title>
59
This function returns in vector <literal>nonan</literal> the values
60
(ignoring the <literal>%nan</literal> entries) of a matrix <literal>x</literal> and
61
in the corresponding places of vector <literal>numb</literal> the
66
<title>Examples</title>
67
<programlisting role="example"><![CDATA[
68
68
x=[0.2113249 %nan 0.6653811;0.7560439 0.3303271 0.6283918]
69
69
[nonan numb]=thrownan(x)
70
70
and(x(numb)==nonan) // Must be %t
71
71
]]></programlisting>