Second and third sigma of standard devition.

8 ビュー (過去 30 日間)
James
James 2014 年 4 月 21 日
コメント済み: Sean de Wolski 2014 年 4 月 21 日
Hi,
I have a big 200x1 matrix "A" and want to find the standard deviations of it. I know that the Std(x)gives you the first sigma. How do you find the second and third sigma of "A" in Matlab. I am very interested in those as whell for this data.
Thanks
  1 件のコメント
dpb
dpb 2014 年 4 月 21 日
For what definition of "second and third sigma"? You mean the higher moments, maybe? If so and have Statistics Toolbox
doc moment
If not, compute as you would the std deviation if didn't have the function std except using the chosen moment for the power instead of 2.

サインインしてコメントする。

採用された回答

Image Analyst
Image Analyst 2014 年 4 月 21 日
For what it's worth, attached here is some code to find up through the 4th central moments: mean, std, var, skewness, kurtosis. The data can be any array - doesn't need to be an image.
By the way, 200 elements is not "big", it's microscopic. Now if you had 200 million elements, then that would be big (at this point in time).
  1 件のコメント
Sean de Wolski
Sean de Wolski 2014 年 4 月 21 日
200 million is still pretty manageable locally, on my relatively wimpy laptop:
Now 200 billion :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by