std does not give good values?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello everybody,
For this matrix
M = [1 2; 3 4];
if we compute the its standard deviation
std(M(:))
then we obtain 1.2910, while by definition, it should be 1.1180. Why is there such a difference?
Thank you for your help.
댓글 수: 0
채택된 답변
Roger Stafford
2013년 11월 14일
편집: Roger Stafford
2013년 11월 14일
The 1.2910 value is the unbiased standard deviation which is default while the 1.1118 value is the second moment. Read the documentation for 'std' at:
http://www.mathworks.com/help/matlab/ref/std.html
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 3-D Scene Control에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!