how to extend each element in a cell string array to fixed size?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Shannon
am 11 Apr. 2020
Kommentiert: Shannon
am 11 Apr. 2020
I have a cell string array A={'123', '4567', 67894'}, I want to extend each element to a fixed size, like size of 8, and fill in '0' in front. Like: A={'00000123', '00004567', '00067894'}. Can I get help? Thanks!
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Characters and Strings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!