MATLAB: How do i manipulate matrix in form given below? matrix manipulation 1 2; 3 4; 5 6; 7 8; as 1 2 3 4; 5 6 7 8; Best Answer A=[1 2; 3 4; 5 6; 7 8]BB=reshape(A',4,[])' Related SolutionsMATLAB: Reshape matrix in the desired form B=[reshape(A(:,:,1)',1,16);reshape(A(:,:,2)',1,16)] MATLAB: How to copy rows of a matrix to convert it into single row? Use the reshape function:A=[1 2; 3 4; 5 6; 7 8];B = reshape(A', 1, [])B = 1 2 3 4 5 6 7 8 Related QuestionForming matrix using vectorCould anyone help me to fix the issue.Sorting a Matrix using Indices from another matrix !How to sort a matrix by a predefined orderSplitting matrix to different rowRepeat parts of a matrixHow to quickly change 3D to 2D Matrix
Best Answer