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?
:(

采纳的回答

madhan ravi
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 个)

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by