MATLAB: Speed up the program, matrix calculation matrix Hello, I would like to know if there is possible to speed up my program. [ L , U , P] = lu(A); y = L \ (P*torn); x = U \ y ; Where A is typically a 4000×4000 sparse matrix. Thanks! Best Answer I think you should just dox=A\torn; Related SolutionsMATLAB: Maximum size of matrix http://www.mathworks.com/support/tech-notes/1100/1110.html MATLAB: Hi, is it possible to count the number of ones in a matrix sum(A(:) == 1); Related QuestionReplacing a number in a stringSparse matrix multiplication complexity and CPU time
Best Answer