Create largest N digit number
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I need to create an N digit number given only that it is N digits long.
For N = 2, this number would be two nines, or 99, for N = 3 the number would be 999, etc
Anyone know how to code this?
1 commentaire
Geoff Hayes
le 8 Déc 2016
Modifié(e) : Geoff Hayes
le 8 Déc 2016
DJ - what have you tried so far? Please make an attempt at solving your homework questions before posting them on this forum.
Voir également
Catégories
En savoir plus sur Automated Driving Toolbox 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!