hw2ceg416win10 - Let N be the value you get. (b) Move the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Page 1 of 1 1/14/2010 7:11 PM hw2ceg416win10.docx CEG/MTH/416/616 Matrix Computations Homework Set # 2 - 20 max Assigned January 14, 2010. Due January 21, 2010 Problem 1 (20 points) Construct a matrix of zeros and ones of size 300 by 200. Call the matrix A. The use the MATLAB spy command: spy(A). The resulting figure should look like the upper case Greek letter: . It must be 100 rows tall and 100 columns wide. Its vertex must be at location (50,100). The horizontal width of the sides of the should be about 5 columns or rows of 1 values. Use MATLAB svd command: [U,S,V]=svd(A) to get the left and right singular vectors and singular values and perform the studies below. (a) How many nonzero singular values are there?
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Let N be the value you get. (b) Move the to location, (100,150) and repeat part (a). How does moving the X change the N value? (b) Let u i and v i denote the i-th columns of U and V. Let s i denote the i-th diagonal of the S matrix. Form the matrices: A i = s i u i v i T for i=1 to N where N is the value from part (a). Use (50,100) as the vertex notation. (c) Use the part (a) N value and compute the sum of the first ceil(N/10) A i matrices. Show the "spy" command result for this matrix. Use (50,100) as the vertex notation. (d) Repeat part (c) for more terms in the series until you are satisfied with the results of the spy command....
View Full Document

This note was uploaded on 04/26/2010 for the course CEG 616 taught by Professor Taylor during the Winter '10 term at Wright State.

Ask a homework question - tutors are online