UFget and UFgui interfaces to the UF Sparse Matrix Collection
UFget and UFgui provide easy access to the collection and
a simple but powerful search interface, both inside
and outside of MATLAB.
UFget for MATLAB
UFget downloads a matrix, caches it locally, and loads it directly into your
MATLAB workspace. No need to use a browser to get a matrix. You can even use
the built-in index to search for matrices that fit your criteria ... all inside
MATLAB. For example, to download all symmetric matrices into MATLAB, in
increasing size as measured by nnz(A):
index = UFget ; % get index of the UF Sparse Matrix Collection
ids = find (index.numerical_symmetry == 1) ;
[ignore, i] = sort (index.nnz (ids)) ;
ids = ids (i) ;
for id = ids
Prob = UFget (id) % Prob is a struct (matrix, name, meta-data, ...)
A = Prob.A ; % A is a symmetric sparse matrix
end
UFgui Java interface
The UFget package includes a Java program (UFgui)
for downloading the matrices in any format on any platform.
Below is a screenshot with the
default UFgui icon.
Java 1.6.0 (JDK SE 6) or later is required.