I have a 42 variables of same length and in sequence
e.g. d_reshaped1 to d_reshaped42.
Each variable has 3 rows with 42 elements. I would like to combine all the first rows in each of the 42 variables to a single 42 by 42 matrix but my dynamic programming skills in Matlab are miserable.
Can someone assist?