分散 var の計算について
46 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
分散の計算をしたいです。
以下の参考サイトや手元の関数電卓を元に計算を行い方法を確かめるべく、
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 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!