numfinite
(To be removed) Number of finite values in neural network data
numfinite will be removed in a future release. For more information,
see Transition Legacy Neural Network Code to dlnetwork Workflows.
For advice on updating your code, see Version History.
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 R2010bSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork