How to get Solver type when performing \ operation

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 件のコメント

Mario Malic
Mario Malic 2020 年 10 月 14 日
See mldivide documentation, there's an algorithm shown there.
digiam
digiam 2020 年 10 月 15 日
I saw the algorithm, but I would like to see which one has been picked in order to solve the system for each iteration

サインインしてコメントする。

回答 (0 件)

カテゴリ

質問済み:

2020 年 10 月 14 日

コメント済み:

2020 年 10 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by