how create cell array of blank space " "
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
cell(1,5)
0 Kommentare
Akzeptierte Antwort
Voss
am 5 Sep. 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Cell Arrays 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!