blindconsole
- 5
- 0
Hello,
I'm trying to find a fast way to solve the matrix equation (A+pI)x=b, where A is a large matrix, I is the identity matrix, and p is a parameter whose value needs to be swept. Obviously I could just use mldivide or matrix inversion for every value of p, but this seems inefficient. Does anyone know of a better way? Thanks!
I'm trying to find a fast way to solve the matrix equation (A+pI)x=b, where A is a large matrix, I is the identity matrix, and p is a parameter whose value needs to be swept. Obviously I could just use mldivide or matrix inversion for every value of p, but this seems inefficient. Does anyone know of a better way? Thanks!