Gamma Random Number with Shape Parameter from Matrix
2 次查看(过去 30 天)
显示 更早的评论
For example, my shape parameter value in 1x5 matrix = [1.1 1.2 1.3 1.4 1.5] and my scale parameter value is 2. How to generate gamma random number from those value at once so I can get the results in 1x5 matrix? Actually I want to generate from matrices 1x100 so it will be quite difficult if I have to generate them one-by-one manually.
Thank you for your kind help!
Regards,
Debby
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Gamma Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!