Why cgs does not converge

I have a matrix equation. The dimension of my matrix is 16,000. I called `cgs(A,b)` to solve it, but it said the it did not converge. I myself have written a conjugate gradient iterative method for any general matrices (symmetric or anti symmetric ). The algorithm is quite simple. I used it to solve my matrix. It converges well. How can this happen?
This question may seem strange. But for me, I think the build in cgs must have made some modifications to the original conjugate gradient method.

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기

태그

질문:

2016년 4월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by