MATLAB: How to reduce an existing matrix MATLABmatrix manipulation I would like to reduce an existing matrix (1885×1885) to (188×188), essentially discarding the last 5 rows and columns. How would I code this. Thanks in advance. Best Answer I think you mean reduce it to (1880x1880). M = M(1:end-5,1:end-5); Related SolutionsMATLAB: Reduce Matrix by Adding Every Nth Rows and Nth Columns m=m(1:20:8000,1:40,4000); MATLAB: Sampling data egx = randi(1000,100,1);out = x(10:10:end) Related QuestionHow to delete multiple elements from an arrayDelete rows from a matrixIteration in the text(comment) part of an fprint loopHow to store result of backtracking function in a matrixNested for loop, too slow
Best Answer