how create cell array of blank space " "
    4 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 Operators and Elementary Operations 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!
