MATLAB: Matrix operation resize matrix matrix i have matrix, the size is 36×44. i want to process the matrix so the size is 48×48, but the different or the rest between 36×44 and 48*48, the value is 0 Best Answer A=rand(36,44) % exampleA(36+1:48,44+1:48)=0 Related SolutionsMATLAB: Copying matrix values based on another matrix value in MATLAB u=A(F==-1,:) MATLAB: Matrix operation You can delete column in this way:a = rand(50);a(:,3) = [];% deletes 3rd columnFor other questions see documentation:doc inputdoc save Related QuestionHow to decrease the number of points in a matrixMatrix operationsHow to find arrays in matrixMatrix operationCombine two matrices into one
Best Answer