How can assign numbers between two integer numbers instead of ones in a [0 1] matrix?
2 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
I formed following matrice using randi([0,1],6,5).
1 0 1 0 0
1 0 1 0 0
1 0 0 0 1
0 1 0 0 1
1 1 1 0 1
1 1 0 1 0
In this matrice, I want to assign random numbers that between two integer nembers instead of just ones. This is possible? Thanks.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!