分散 var の計算について
이전 댓글 표시
分散の計算をしたいです。
以下の参考サイトや手元の関数電卓を元に計算を行い方法を確かめるべく、
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개)
카테고리
도움말 센터 및 File Exchange에서 実験計画法 (DOE)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!