I want to be able to store a number of lines of different sizes, for example
userinput=['AJ48 NOT'; 'AH43 MANA'; 'AS33 NEWEF'];
This, of course, returns an error, since the number of columns is different in each row. I know that all that is needed for this is adequate spaces in the first and second lines. However, I need to be able to put this in an array, without forcing the user to add these spaces on their own. Is there a team that allows me to do this? If possible, I would also like to know why this problem does not occur with numbers, for example.
a=[1; 243; 23524];
string arrays matlab store
straits
source share