Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - 日本語

Please note that the recommended version of Scilab is 6.0.2. This page might be outdated.
See the recommended documentation of this function

Manual Scilab >> Estatística > thrownan

thrownan

eliminates nan values

Calling Sequence

[nonan,numb]=thrownan(x)

Arguments

x

real or complex vector or matrix

Description

This function returns in vector nonan the values (ignoring the NANs) of a vector or matrix x and in the corresponding places of vector numb the indexes of the value.

For a vector or matrix x, [nonan,numb]=thrownan(x) considers x, whatever his dimensions are, like a vector (columns first).

In Labostat, NAN values stand for missing values in tables.

Examples

x=[0.2113249 %nan 0.6653811;0.7560439 0.3303271 0.6283918]
[nonan numb]=thrownan(x)

Authors

Carlos Klimann

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jan 26 16:24:38 CET 2011