how to distribute a matrix?

4 views (last 30 days)
janny
janny on 26 May 2016
Answered: janny on 26 May 2016
hi guys i have a binary matrix which: M=[10011;01110,10000;11100,00011] which i would like to distribute it in Gamma and Beta i try to use this command but it didn't work random('gamma',M,2,4) and also i try r = random('gamma' , randi([3 15],1,10) for a different matrix but also it didn't work,,any help?

Accepted Answer

Stalin Samuel
Stalin Samuel on 26 May 2016
gamrnd(10,5,100,1)

More Answers (1)

janny
janny on 26 May 2016
thanks a lot,, it solve my problem

Products

Community Treasure Hunt

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

Start Hunting!