分散 var の計算について
154 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
分散の計算をしたいです。
以下の参考サイトや手元の関数電卓を元に計算を行い方法を確かめるべく、
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 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Detection in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!