> 其他 >
matlab 矩阵元素求和,求均值和均方差
人气:402 ℃ 时间:2019-09-23 09:35:12
解答
m = rands(5,4)
m =
0.5155 0.4121 0.6469 -0.1225
0.4863 -0.9363 0.3897 -0.2369
-0.2155 -0.4462 -0.3658 0.5310
0.3110 -0.9077 0.9004 0.5904
-0.6576 -0.8057 -0.9311 -0.6263
>> s=mean(m)
s =
0.0879 -0.5368 0.1280 0.0272
>> ss = std(m)
ss =
0.5097 0.5653 0.7583 0.5221
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版