Understanding standard deviation code
1 回表示 (過去 30 日間)
古いコメントを表示
Hi Guys,
For the following built in matlab function for standard deviaion std(X,0,2) please can someone tell me what the 0 and 2 are for?
Thanks in advace
0 件のコメント
回答 (1 件)
the cyclist
2019 年 11 月 22 日
The "0" specifies that the standard deviation will be weighted by sqrt(N-1), where N is the number of elements.
The "2" specifies that the standard deviation will be taken in dimension 2 (i.e. across the rows of a matrix, rather than the default which is down the columns).
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!