















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















consider
y
Ax
where
m
×
n
is (strictly) skinny,
i.e.
m > n
called
overdetermined
set of linear equations
(more equations than unknowns)
for most
y
, cannot solve for
x
one approach to
approximately
solve
y
Ax
define
residual
or error
r
Ax
y
find
x
x
ls
that minimizes
r
x
ls
called
least-squares
(approximate) solution of
y
Ax
Least-squares
5–
Ax
ls
is point in
closest to
y
Ax
ls
is
projection
of
y
onto
y
Ax
ls
r
Least-squares
5–
x
ls
is linear function of
y
x
ls
−
1
y
if
is square
x
ls
solves
y
Ax
ls
if
y
†
T
−
1
T
is called the
pseudo-inverse
of
†
is a
left inverse
of (full rank, skinny)
†
T
−
1
T
Least-squares
5–
Ax
ls
is (by definition) the point in
that is closest to
y
i.e.
, it is the
projection
of
y
onto
Ax
ls
R
(
A
)
y
the projection function
R
(
A
)
is linear, and given by
R
(
A
)
y
Ax
ls
T
−
1
T
y
T
−
1
T
is called the
projection matrix
(associated with
Least-squares
5–
since
r
Ax
ls
y
x
x
ls
for any
x
, we have
Ax
y
2
Ax
ls
y
x
x
ls
2
Ax
ls
y
2
x
x
ls
2
this shows that for
x
x
ls
Ax
y
Ax
ls
y
Least-squares
5–
m
×
n
skinny, full rank
factor as
with
T
n
n
×
n
upper triangular,
invertible
pseudo-inverse is
T
−
1
T
T
T
−
1
T
T
−
1
T
so
x
ls
−
1
T
y
projection on
given by matrix
T
−
1
T
−
1
T
T
Least-squares
5–
1
x
T 1
y
T 2
y
2
1
x
T 1
y
2
T 2
y
2
this is evidently minimized by choice
x
ls
−
1
1
T 1
y
(which makes first term zero)
residual with optimal
x
is
Ax
ls
y
2
T 2
y
1
T 1
gives projection onto
2
T 2
gives projection onto
⊥
Least-squares
5–
many applications in inversion, estimation, and reconstruction problemshave form
y
Ax
v
x
is what we want to estimate or reconstruct
y
is our sensor measurement(s)
v
is an unknown
noise
or
measurement error
(assumed small)
i
th row of
characterizes
i
th sensor
Least-squares
5–
linear measurement with noise:
y
Ax
v
with
full rank, skinny
consider a
linear estimator
of form
x
By
called
unbiased
if
x
x
whenever
v
i.e.
, no estimation error when there is no noise)
same as
i.e.
is left inverse of
Least-squares
5–
estimation error of unbiased linear estimator is
x
x
x
Ax
v
Bv
obviously, then, we’d like
‘small’ (and
fact:
†
T
−
1
T
is the
smallest
left inverse of
, in the
following sense:for any
with
, we have
i,j
2 ij
i,j
†
2
ij
i.e.
, least-squares provides the
best linear unbiased estimator
Least-squares
5–
ranges
y
4
measured, with measurement noise
v
y
k
T 1
k
T 2
k
T 3
k
T 4
x
v
where
k
i
is unit vector from
to beacon
i
measurement errors are independent, Gaussian, with standard deviation
(details not important) problem:
estimate
x
2
, given
y
4
(roughly speaking, a
measurement redundancy ratio)
actual position is
x
measurement is
y
Least-squares
5–
y
1
and
y
2
suffice to find
x
(when
v
compute estimate
x
by inverting top (
) half of
x
je
y
y
(norm of error:
Least-squares
5–
u
w
y
s
signal
u
is piecewise constant, period
1 sec
t
u
t
x
j
j
t < j,
j
filtered by system with impulse response
h
t
w
t
t
0
h
t
τ
u
τ
dτ
sample at
Hz:
y
i
w
i
i
Least-squares
5–
3-bit quantization:
y
i
y
i
i
, where
is 3-bit
quantizer characteristic
a
round
a
problem:
estimate
x
10
given
y
100
example:
0
1
2
3
4
5
6
7
8
9
10
0
1
0
1
2
3
4
5
6
7
8
9
10
−
1 0
0
1
2
3
4
5
6
7
8
9
10
−
1 0
0
1
2
3
4
5
6
7
8
9
10
−
1 0
)t( s
)t(u )t( w )t(y
t
Least-squares
5–