U. Washington
AMATH 352  Winter 2010
Homework 6  Due on 03/05/10
The first two exercises should be submitted via Scorelator (4 attempts per exercise are available).
Remember to use the command
save
with the flag
ascii
to output your results.
Upload only
your “.m” files. You will upload, at least, one file per exercise.
1. (10 points) We define the MoorePensore pseudoinverse as the matrix
A
†
= (
A
T
A
)

1
A
T
.
Write a main “.m” file to compute the MoorePenrose pseudoinverse for the matrices
A
1
=
1
0

1

1
0
1
(save in MPI_A1.dat),
A
2
=
1
2
3
0
4
5
0
0
6
(save in MPI_A2.dat),
A
3
=
1
1
1
(save in MPI_A3.dat). Submit your file(s) via Scorelator.
2. (10 points) The data are the total population of the United States of America.
t
b
1900
75.995
1910
91.972
1920
105.711
1930
123.203
1940
131.669
1950
150.697
1960
179.323
1970
203.212
1980
226.505
1990
249.633
2000
281.422
The task is to model the population growth and predict the population in 2010. The use of
POLYFIT or any fitting function from
Matlab
is not allowed. You should solve the least
squares problems as seen in class. Using a degree 1 polynomial as model
y
≈
α
+
βt
, compute
the population in 2010 and save it
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
This is the end of the preview.
Sign up
to
access the rest of the document.
 Winter '07
 Leveque
 Determinant, Triangular matrix, U. Washington

Click to edit the document details