Randomize three chosen arrays in matlab
2 次查看(过去 30 天)
显示 更早的评论
Hello, On matlab I named A=[0,0,1] B=[0,1,0] C=[1,0,0]
and I want matlab to randomly pick from A B and C how can I do it please ?
In the end I want to display the randomly chosen array?
Please help
1 个评论
Adam
2016-10-20
I guess you already have 3 answers, but 'randomly pick from A B and C' is not at all a clear definition of what you want. There are numerous different interpretations of what that means!
回答(3 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!