Monte carlo simulation simplification
1 次查看(过去 30 天)
显示 更早的评论
lambda1 = 60.21;
lambda2 = 41.58;
lambda3 = 9.11;
lambda4 = 8.71;
lambda5 = 3.83;
lambda6 = 3.74;
lambda7 = 18.06;
r1 = poissrnd(lambda1)
r2 = poissrnd(lambda2)
r3 = poissrnd(lambda3)
r4 = poissrnd(lambda4)
r5 = poissrnd(lambda5)
r6 = poissrnd(lambda6)
r7 = poissrnd(lambda7
How can I simplify my code to get the same result? Please help
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!