mean of 10 and a variance of 30
2 ビュー (過去 30 日間)
古いコメントを表示
How can i distribution is normal with a mean of 10 and a variance of 30.(for n samples;n=50)
3 件のコメント
採用された回答
Image Analyst
2022 年 10 月 26 日
Try this:
n = 50;
r = 10 + 30 * randn(1, n);
theActualMean = mean(r)
theActualSD = std(r)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Random Number Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!