how to remove row(s) or column(s) of a matrix and save the new matrix with different name? and is there any limit on how big of matrix that can be processed by matlab?
Best Answer
Just use [] for any column or row that you want to remove.
MATLAB array memory is column-wise, so in memory the "a" elements are stored 1,3,2,4. The transpose puts the elements in memory in the order 1,2,3,4 so that the reshape works as you want.
Best Answer