Generating random 50 number between 0 to 27 and padding 000 all side?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how int generating random 50 number between 0 to 27 and padding 000 all side?
:(
0 commentaires
Réponse acceptée
madhan ravi
le 1 Déc 2018
Modifié(e) : madhan ravi
le 1 Déc 2018
a=randi([0 27],1,50)
padarray(a,[1,1],0) % requires image processing toolbox
6 commentaires
madhan ravi
le 2 Déc 2018
Anytime :) , that wasn't the original question so post a separate question.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!