MATLAB Answers

Nicolas
0

Banded Matrix Solver in Matlab

Asked by Nicolas
on 18 Sep 2019
Latest activity Edited by 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.

1 Answer

Answer by Steven Lord
on 18 Sep 2019
 Accepted Answer

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

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

Sign in to comment.