numfinite
Number of finite values in neural network data
Syntax
numfinite(x)
Description
numfinite(x)
takes a matrix or cell array of matrices and returns the
number of finite elements in it.
Examples
x = [1 2; 3 NaN] n = numfinite(x) x = {[1 2; 3 NaN] [5 NaN; NaN 8]} n = numfinite(x)
Version History
Introduced in R2010b