分散 var の計算について
46 views (last 30 days)
Show older comments
分散の計算をしたいです。
以下の参考サイトや手元の関数電卓を元に計算を行い方法を確かめるべく、
A=[2 4 9 ]の行列を組み込み関数var で計算しました。
すると手元の計算では26/3だったのですがプログラムの答えは13になりました。
なぜか疑問に思い、お聞きしたいと思います。
参考URL;https://mathtrain.jp/leastsquares
clear
A=[2 4 9];
A_var=var(A,0,2)
%%%%%%%%%%
A_var =
13
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!