I have a matrix that contains numerical data. Size being 31x48. I am wanting to add a label to each row of this matrix. The best way i can think of is to convert my matrix to a cell array with each row containing my 48 pieces of data.
I am unsure about how to program this so it iterates through each row adding a label such as 'Day 1' and then containing my data. I want it to look like the following: Day 1 [30 30 30 30 30 .......] Day 2 [30 30 30 30 30 ...] etc.
I need the label to be assigned to the row so that when I split it into two groups I know what data corresponds to what day.