random (normal, gaussian series data

1 回表示 (過去 30 日間)
Sophy Kipkwony
Sophy Kipkwony 2019 年 9 月 17 日
編集済み: Stephan 2019 年 9 月 17 日
how to generate at random (normal , gaussian) series of data with N points with variance and mean

回答 (1 件)

Stephan
Stephan 2019 年 9 月 17 日
編集済み: Stephan 2019 年 9 月 17 日
If you have Statistics and Machine Learning Toolbox:
pd = makedist('Normal','mu',75,'sigma',10)
pd =
NormalDistribution
Normal distribution
mu = 75
sigma = 10
A = random(pd,10,1)
A =
52.4115
83.6217
78.1877
61.9231
70.6641
78.4262
110.7840
102.6944
61.5011
105.3492

カテゴリ

Help Center および File ExchangeRandom Number Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by