% % CS 4220 (Spring 2010) Assignment 3
% Test Script P2. Checks out UnderD.

clc
randn('seed',0)
m = 5; n = 10; A = randn(m,n); b = randn(m,1); xStar = randn(n,1);
format long
x = UnderD(A,b,xStar)
NormOfResidual = norm(A*x - b)
