Numerical Computation Homework 4:

$24.99 $18.99

Turn in your own writeup that includes your code. List any resources you used including collaborating with others. I’ve posted ve di erent matrices as comma-separated text les. For each matrix, rst load the matrix into memory. Then answer the following questions for each matrix: What are the matrix dimensions? How many nonzeros are there?…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Description

5/5 – (2 votes)

Turn in your own writeup that includes your code. List any resources you used including collaborating with others.

I’ve posted ve di erent matrices as comma-separated text les. For each matrix, rst load the matrix into memory. Then answer the following questions for each matrix:

  1. What are the matrix dimensions?

  1. How many nonzeros are there?

  1. Is it symmetric?

  1. Is it diagonal?

  1. Is it orthogonal?

  1. What is the rank?

  1. What is the smallest singular value?

  1. What is the largest singular value?

  1. What is the condition number?

  1. Generate ve random right-hand-sides. For each right-hand-side b, try to solve Ax = b with the appropriate solver (like linsolve). Did the solver have any issues solving the systems?

For each matrix, generate a report with the answers to each question.

For each matrix, make two plots:

  1. Plot the nonzero elements of the matrix.

  1. Plot the magnitude of the elements of the matrix.

BONUS POINTS Here is an opportunity for BONUS POINTS. Repeat the process above for an interesting matrix that you nd. Three great places to nd interesting matrices are:

  • Tim Davis’s SuiteSparse Matrix Collection

  • NIST Matrix Market

  • Matlab’s gallery

Tell me why you think the matrix is interesting. You get 5 points per matrix, up to 25 extra points.

1

Numerical Computation Homework 4:
$24.99 $18.99