how to manage matrix construction?
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
更多回答(1 个)
Star Strider
2014-11-20
4 个评论
Star Strider
2014-11-25
I have no idea what you’re doing. To make it binary with the randi function, change that line to:
len = 4; % Length of number string
h = randi([0 1],1,len);
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!