std does not give good values?

2 Ansichten (letzte 30 Tage)
f10w
f10w am 14 Nov. 2013
Kommentiert: f10w am 28 Nov. 2013
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.

Akzeptierte Antwort

Roger Stafford
Roger Stafford am 14 Nov. 2013
Bearbeitet: Roger Stafford am 14 Nov. 2013
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

Weitere Antworten (0)

Kategorien

Mehr zu 3-D Scene Control finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by