Wrong mean calculation
显示 更早的评论
Hello
I notice that when Matlab calculates the Standard deviation of a vector with the exact same values it doesn't returns 0! For example: Vector=ones(100,1)./3; Average=mean(Vector); STDEV=std(Vector);
Moreover if you divide the Vector by say 3456 The average is also wrong (i.e different than any value in the vector)
Thanks in advance itay
回答(2 个)
David Young
2011-11-21
0 个投票
类别
在 帮助中心 和 File Exchange 中查找有关 Analysis of Variance and Covariance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!