I would like to use the command LINSOLVE with sparse matrices. When I run the following code:
A = triu(rand(5,3));x = [1 1 1 0 0]';b = A'*x;opts.UT = true; opts.TRANSA = true;S = sparse(A);y2 = linsolve(S,b,opts);
I receive the following error:
??? Error using ==> linsolve Linsolve is currently not supported for sparse inputs
Best Answer