If I have a matrix (A) that is 10×4, how would I reshape this matrix to be a new 5×8 matrix (B) so that the first two rows of A are concatenated to be the first row of B, the 3rd and 4th row of A were the second row of B etc.
Thanks in advance for your help
Best Answer