You cannot get that. The closest you could get would be ['?L';'?I';'QG'] . The code change for that would be to use
s1(i,:)=aa1;
Strings in MATLAB are row vectors of characters, and cannot be stored in an array as individual entities.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!