After updating matlab to R2019a, my matlab cannot solve AX=b.
이전 댓글 표시
Greetings,
Currently, I am building an improved primal-dual path following algorithm. I need to solve a AX=b matrix equations, where A is a singular matrix. Because the defition of primal-dual path following algorithm, it is very hard to avoid the singular matrix.
When I used matlab R2018 version, although the condition number of A is inf, I still can solve X = A\b and get specific number. However, after I updated to matlab R2019a, I will get X = [nan ... nan] if I solve X = A\b same for X = A^-1 * b and X = inv(A) * b.
It is very important to my research and I have finished half of my project. But now I cannot repeat my work.
Could anyone help me? Thank you very much!
댓글 수: 3
"although the condition number of A is inf, I still can solve X = A\b and get specific number"
Did these number have any actual meaning? Just because matlab returned some numbers doesn't mean that you should put any trust behind them.
Anyway, can provide an example of inputs which produce a different result between R2018 (a?, b?) and R2019a?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!