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 件のコメント
madhan ravi
2018 年 12 月 2 日
Anytime :) , that wasn't the original question so post a separate question.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!