How can I get good matrix approximations using a sparse matrix?

1 view (last 30 days)
I have a matrix A (dimension 4000000 x 5) and a sparse matrix B (dimension 4000000 x 2000000). Now I am searching for an approximation of X: A * X = B
Also I need an approximation for Y: A * Y * A' = C (C is a sparse 4000000 x 4000000 matrix)

Accepted Answer

Matt J
Matt J on 4 Nov 2013
Edited: Matt J on 4 Nov 2013
X=A\B;
Y=A\C/A';
  3 Comments
Steffen
Steffen on 5 Nov 2013
This works but I can't calculate
A * X
afterwards without getting the memory error.

Sign in to comment.

More Answers (0)

Categories

Find more on Sparse Matrices in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!