Presentation is loading. Please wait.

Presentation is loading. Please wait.

Converting Matrix Market matrices to Matlab format The Matrix Market is an interesting collection of matrices from a variety of applications.

Similar presentations


Presentation on theme: "Converting Matrix Market matrices to Matlab format The Matrix Market is an interesting collection of matrices from a variety of applications."— Presentation transcript:

1 Converting Matrix Market matrices to Matlab format The Matrix Market is an interesting collection of matrices from a variety of applications

2 Purpose of this tutorial To describe how to convert Matrices from the Matrix Market into Matlab format

3 Steps in downloading matrices 1.Find the desired matrix in the Matrix Market (see “Introduction to the Matrix Market”) 2.Download a file describing the matrix 3.Uncompress the file (see “Downloading Matrix Market matrices”) 4.Convert the matrix to Matlab format

4 To convert the file to Matlab format 1.Download two files -- mmread.m and loadmatrix.m from www.math.sjsu.edu/~foster 2. Open up Matlab. Any version of Matlab from version 5.3 or after would be fine. 3. From inside Matlab move to the folder that contains your files using cd and dir 4. Define the “filename” and execute the loadmatrix program

5

6

7

8

9

10 Other tutorials available at www.math.sjsu.edu/~foster Introduction to the Matrix Market Downloading Matrix Market matrices Using Matrix Market matrices in Matlab Iterative methods in Matlab with Matrix Market matrices


Download ppt "Converting Matrix Market matrices to Matlab format The Matrix Market is an interesting collection of matrices from a variety of applications."

Similar presentations


Ads by Google