帮助中心帮助中心
一个或多个矩阵包含的绝对值元素的均值
[m,n] = meanabs(x)
[m,n] = meanabs(x) 接受一个矩阵或矩阵元胞数组并返回以下项:
m
所有绝对有限值的均值
n
有限值的个数
如果 x 不包含有限值,则返回的均值为 0。
x
m = meanabs([1 2;3 4]) [m,n] = meanabs({[1 2; NaN 4], [4 5; 2 3]})
在 R2010b 中推出
meansqr | sumabs | sumsqr
meansqr
sumabs
sumsqr
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office