1 / 14

How to use Matrix Market matrices in Matlab

How to use Matrix Market matrices in Matlab. The Matrix Market is an interesting collection of matrices from a variety of applications. Purpose. To illustrate the use of Matrix Market matrices in Matlab To learn a bit about sparse matrices

dante-kelly
Download Presentation

How to use Matrix Market matrices in Matlab

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to use Matrix Market matrices in Matlab The Matrix Market is an interesting collection of matrices from a variety of applications

  2. Purpose • To illustrate the use of Matrix Market matrices in Matlab • To learn a bit about sparse matrices • To use some of the tools available in Matlab for working with sparse matrices

  3. Preliminary Steps • Locate a matrix at the Matrix Market web site math.nist.gov/MatrixMarket (see the “Introduction to the Matrix Market” tutorial) • Download and uncompress a file describing the matrix (see the “Downloading matrices from the Matrix Market” tutorial) • Load the matrix into Matlab (see “Converting Matrix Market matrices to Matlab” tutorial and this tutorial)

  4. In Matlab we will illustrate • The structure of sparse matrices (using spy) • Solving large linear systems (using \) • The time required (using tic and toc) • The accuracy of the calculated solution (using norm and condest) • Fill-in in the factorization (using lu, nnz and spy) • The effect of column reordering on fill-in (using colmmd, lu, nnz and spy) • The time required for the solution when sparsity is not used (using full)

  5. The structure of sparse matrices

  6. Time and accuracy of solving a system of equations

  7. Non-zero structure of A

  8. Fill-in

  9. Fill-in

  10. Column reordering

  11. The value of sparsity

  12. Other tutorials available at www.math.sjsu.edu/~foster • Introduction to the Matrix Market • Downloading matrices from the Matrix Market • Converting Matrix Market matrices to Matlab format • Iterative methods in Matlab with Matrix Market matrices

More Related