This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: U. Washington AMATH 352  Winter 2010 Homework 5  Due on 02/26/09 The first two exercises should be submitted via Scorelator (4 attempts per exercise are available). Remember to use the command save with the flagascii to output your results. Upload only your “.m” files. You will upload, at least, one file per exercise. 1. (10 points) The goal of this exercise is to study several GramSchmidt algorithms. Consider the matrix A 1 = 1 1 1 1 ε ε ε ε ε ε with ε = 1 10 4 Write a main file that will perform the following tasks: (a) Compute error1cgs = k Q T cgs Q cgs I k 1 where Q cgs is the output from the classical Gram Schmidt algorithm with input A 1 . (b) Compute error1mgs = k Q T mgs Q mgs I k 1 where Q mgs is the output from the modified GramSchmidt algorithm with input A 1 . (c) Compute error1tsgs = k Q T tsgs Q tsgs I k 1 where Q tsgs is the output from the twostep GramSchmidt algorithm with input A 1 ....
View
Full
Document
This note was uploaded on 03/31/2010 for the course AMATH 352 taught by Professor Leveque during the Winter '07 term at University of Washington.
 Winter '07
 Leveque

Click to edit the document details