How to get Solver type when performing \ operation

2 views (last 30 days)
I am solving a least squares system of equations with x=A\b. Matrix A should be a positive semi-definite sparse matrix that needs to be solved with Cholesky.
However, at the inital step it has a negative eigenvalue and Matlab switch solver internally in order to find a solution. After this initial step, all the eigenvalues switch to positve and the system is finally positive semi-definite, I think that here Cholesky takes place.
Is there anyway to see what is the solver that Matlab is using when performing the \ operation?
  3 Comments
digiam
digiam on 15 Oct 2020
I saw the algorithm, but I would like to see which one has been picked in order to solve the system for each iteration

Sign in to comment.

Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!