フィルターのクリア

1-sigma error from data

25 ビュー (過去 30 日間)
Markus Similä
Markus Similä 2022 年 7 月 21 日
回答済み: Chunru 2022 年 7 月 21 日
I have several thousand datapoints that follow a normal distribution (not zero centered and values ranging roughly from -500 to 500).
How can I get the interval from mean-1-sigma to mean+1-sigma?

採用された回答

Chunru
Chunru 2022 年 7 月 21 日
x = 500*randn(10000, 1) + 200; % some data
mx = mean(x);
sx = std(x);
plot(x, 'o'); hold on; grid on;
yline(mx+[-1 0 1]*sx, 'r');

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeANOVA についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by