So I have a cell containing several strings, e.g.
cell = {'a1', 'b2', 'c3'};
for i = 1:3
sprintf('%s ', cell{i});
end
I was expecting some out put like a1 b2 c3 , but there was nothing. The funny thing is the sprintf works in the command window (without the semicolon).
Please let me know what got wrong. Thank you so much.