std2计算矩阵元素的标准差;mean2计算矩阵元素的平均数。

help std2

STD2 Compute standard deviation of matrix elements.

B = STD2(A) computes the standard deviation of the values in

A.

Class Support

-------------

A can be numeric or logical. B is a scalar of class double.

Example

-------

I = imread('liftingbody.png');

val = std2(I)

See also corr2, mean2, mean, std.

Reference page in Help browser

doc std2

============================================================================

help mean2

MEAN2 Compute mean of matrix elements.

B = MEAN2(A) computes the mean of the values in A.

Class Support

-------------

A can be numeric or logical. B is a scalar of class double.

Example

-------

I = imread('liftingbody.png');

val = mean2(I)

See also mean, std, std2.

Reference page in Help browser

doc mean2

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐