Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.1 - Français

Change language to:
English - 日本語 - Português

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

Aide Scilab >> Statistiques > thrownan


Eliminates nan values

Calling Sequence




a m-by-n real or complex matrix of doubles. If the number of columns in x is different from 1, then the column-by-column matrix x is considered.


a (m*n)-by-1 real or complex matrix of doubles, without any %nan entries.


a (m*n)-by-1 real or complex matrix of floating point integers, the indices k in x where x(k) is non-nan.


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


x=[0.2113249 %nan 0.6653811;0.7560439 0.3303271 0.6283918]
[nonan numb]=thrownan(x)
and(x(numb)==nonan) // Must be %t


Copyright (C) 2000 - INRIA - Carlos Klimann

Copyright (C) 2010 - DIGITEO - Michael Baudin

<< tabul Statistiques trimmean >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Mar 03 11:00:12 CET 2011