MATLAB: Hi, I have save matrix’s in a variable like Y{1} Y{2} Y{3} Y {4}. up to 100. Each of them consist of 12×50. I want to make a matrix in which all Y are included. Please Help

matrixmatrix array

I have a matrix of (500*1000). Each value is an annual data. By using Formula, I converted each value into (12*1). To each column is given me (12*500) which i saved like Y{1}, Y{2},…… Y{k}. Now I need a single matrix so that I can used it for calculation. I am first time asking Question here. Thank you

Best Answer

cat(3,Y{:})
to produce a 12 x 50 x 100 array