Generating random 50 number between 0 to 27 and padding 000 all side?
1 次查看(过去 30 天)
显示 更早的评论
how int generating random 50 number between 0 to 27 and padding 000 all side?
:(
0 个评论
采纳的回答
madhan ravi
2018-12-1
编辑:madhan ravi
2018-12-1
a=randi([0 27],1,50)
padarray(a,[1,1],0) % requires image processing toolbox
6 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!