I want to do some numerical examples solving large sparse linear system Ax=b. And I want to use some data from Maltab itself because this experiments are easily reproduced any time using Matlab. For example,
load west0479.mat
A = west0479;
b = sum(A,2);
Using these codes, I can obtain a sparse matrix linear system. I want to ask whether there are some other sparse matrix data in Matlab? If so, please give me some examples.
No.
It is straightforward to check this.
west0479resides in thedemosfolder where all such samples are kept.We can get a list of the
.matfiles in this folder which might contain sparse matrices.Each of these files can be loaded and checked for sparse variables. Let's make an array from these checks and use it to index the list of files, so only files containing sparse matrices are returned:
west0479is the only one.