MATLAB Answers

Banded Matrix Solver in Matlab

43 views (last 30 days)
Nicolas
Nicolas on 18 Sep 2019
Edited: Nicolas on 19 Sep 2019
Hello,
I cannot find any banded matrix specific solver in Matlab.
Does anyone has a recomendation on how to do it in Matlab or do I have to go to Python/C++/fortran?
Thanks

  0 Comments

Sign in to comment.

Accepted Answer

Steven Lord
Steven Lord on 18 Sep 2019
Since you've tagged this question with "sparse", try just using the backslash operator. The flowchart on that documentation page indicates when it will use a banded solver. Alternately, call decomposition with the 'banded' option and use the backslash operator on the decomposition object.

  5 Comments

Show 2 older comments
Nicolas
Nicolas on 19 Sep 2019
Thank you Steven. Would you have any recomendation for a constrained banded solver?
Steven Lord
Steven Lord on 19 Sep 2019
What constraints are you trying to place on the solution?
Nicolas
Nicolas on 19 Sep 2019
positivity for half of the unknowns, none on the other half

Sign in to comment.

More Answers (0)