how create cell array of blank space " "
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
cell(1,5)
0 Commenti
Risposta accettata
Voss
il 5 Set 2023
Cell array:
C = repmat({' '},1,5)
or:
C = cell(1,5);
C(:) = {' '}
A string array may be useful too:
S = repmat(" ",1,5)
or:
S = strings(1,5);
S(:) = " "
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Cell Arrays in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!