I want to solve a system of linear equations, AX = B, where A is sparse and positive definite. B is a matrix rather than a column vector. So I have to solve multiple system of linear equations (with multiple right hand sides). How can I use conjugate gradient for this in Matlab?
I can use the one that works for a column vector B.