MATLAB Answers

0

random (normal, gaussian series data

Asked by Sophy Kipkwony on 17 Sep 2019
Latest activity Edited by Stephan
on 17 Sep 2019
how to generate at random (normal , gaussian) series of data with N points with variance and mean

  0 Comments

Sign in to comment.

1 Answer

Answer by Stephan
on 17 Sep 2019
Edited by Stephan
on 17 Sep 2019

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

  0 Comments

Sign in to comment.