I am using a loop to create my cell array. It contains the string 'A1' to 'A10'. Is there a way to iterate without using a loop ?
a = cell( 10, 1 );
for i = 1 : length( a )
a{i} = [ 'A', num2str( i ) ];
end
a =
'A1'
'A2'
'A3'
'A4'
'A5'
'A6'
'A7'
'A8'
'A9'
'A10'