generating normal data with given average and standard diviation
显示 更早的评论
Hi all
I want to generat a data seri that follows Normal Distribution. as u know, "randn" command generates data with average=0 and std=1. But I want to generat a series of data having non-zero average and non-single standard diviation.
could u please guide me??? Thanks in advanced
1 个评论
Walter Roberson
2011-12-28
Duplicate is at http://www.mathworks.com/matlabcentral/answers/20622-data-genaration
回答(1 个)
Andrei Bobrov
2011-11-10
0 个投票
please read: doc randn, example 1
more
doc normrnd (Statistics Toolbox)
类别
在 帮助中心 和 File Exchange 中查找有关 Random Number Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!