But because MATLAB arrays cannot be ragged, vertical concatenation of varying-length strings will produce an error. >> ['Hello,';' ';'World!'] Errorusing vertcat Dimensionsof matrices being concatenated are not consistent. If you are trying to collect a list of strings without combining them ...
Open in MATLAB Online Dear all, My goal is to have an array with 8760 rows (number of hours in a year). Each row should now indicate the day-number of each month, which will mean that I have in the first rows 23x the number 1, then 23 times the number 2, ... till the end...