- Aide Scilab
- Statistiques
- cdfbet
- cdfbin
- cdfchi
- cdfchn
- cdff
- cdffnc
- cdfgam
- cdfnbn
- cdfnor
- cdfpoi
- cdft
- median
- st_deviation
- center
- wcenter
- cmoment
- correl
- covar
- ftest
- ftuneq
- geomean
- harmean
- iqr
- mad
- mean
- meanf
- moment
- msd
- mvvacov
- nancumsum
- nand2mean
- nanmax
- nanmean
- nanmeanf
- nanmedian
- nanmin
- nanstdev
- nansum
- nfreq
- pca
- perctl
- princomp
- quart
- regress
- sample
- samplef
- samwr
- show_pca
- stdevf
- strange
- tabul
- thrownan
- trimmean
- variance
- variancef
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
thrownan
Eliminates nan values
Calling Sequence
[nonan,numb]=thrownan(x)
Arguments
- x
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 matrixx
is considered.- nonan
a (m*n)-by-1 real or complex matrix of doubles, without any %nan entries.
- numb
a (m*n)-by-1 real or complex matrix of floating point integers, the indices
k
inx
wherex(k)
is non-nan.
Description
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.
Examples
x=[0.2113249 %nan 0.6653811;0.7560439 0.3303271 0.6283918] [nonan numb]=thrownan(x) and(x(numb)==nonan) // Must be %t
Authors
Copyright (C) 2000 - INRIA - Carlos Klimann
Copyright (C) 2010 - DIGITEO - Michael Baudin
<< tabul | Statistiques | trimmean >> |