MATLAB: Reshaping a matrix dimension matrix reshaping Hi, I have a 2×60 matrix and I want to reshape it to a 120×1 matrix. How can I do that? Best Answer It depends on how you want the (120x1) matrix to look. Here are two possibilities:A = [1:5; 6:10];B1 = reshape(A, [], 1);B2 = reshape(A', [], 1); Related SolutionsMATLAB: Reshaping A = [1 0 1 0 0 0 1];B = [1 1 1 0 0 0 1];s = reshape([A;B],1,[]) MATLAB: “Matrix Dimensions must agree” t is used to build r, but it is not the same length as phi. Related QuestionReshapeNon square matrix rotationTransposing 5x5x5 matrix
Best Answer