I'm trying to solve a llsq problem of the form Ax = b
. I have some huge matrices where
size(A) = 26181 13090
size(b) = 26181 1
b
has sparsity ~26% and A
is nearly dense. From the mldivide
docs, it seems as though A\b
runs a special algorithm if b
is sparse.
However, currently, solving is taking upwards of 30 minutes (I've manually terminated after this time, so I don't know how long it actually takes).
Looking for suggestions on how to speed up this computation.