I have a matrix of size 1*16 like [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16] i want to convert it to a 2*8 matrix like [1 2 3 4 5 6 7 8;9 10 11 12 13 14 15 16] (i.e the first eight elements in the first row and the second eight elements in the second row)
MATLAB: Convert a 1*16 matrix to a 2*8 matrix
1*16 to 2*8
Related Question
- Finding Peak Edges from Array of 116 Curves
- Remove all NaN values from an array.
- FindPeaks() of a 1024 x 116 Matrix
- Reshape 3d matrix to obtain a column vector
- Interpolate a 1024×116 Matrix to a 1024×1024 Matrix
- Shift rows by different amounts
- How to reshape a 2D to 3D matrix without using loops (reshape) and keeping a particular order of the elements// Wrong arragement of elemts after using “reshape”
Best Answer