how create cell array of blank space " "
2 views (last 30 days)
Show older comments
cell(1,5)
0 Comments
Accepted Answer
Voss
on 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 Comments
More Answers (0)
See Also
Categories
Find more on Cell Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!