meanabs
(To be removed) Mean of absolute elements of matrix or matrices
meanabs 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
[m,n] = meanabs(x)
Description
[m,n] = meanabs(x) takes a matrix or cell array of matrices and
returns,
m | Mean value of all absolute finite values |
n | Number of finite values |
If x contains no finite values, the mean returned is 0.
Examples
m = meanabs([1 2;3 4])
[m,n] = meanabs({[1 2; NaN 4], [4 5; 2 3]})
Version History
Introduced in R2010bSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork