MATLAB Project05
MATLAB Project05
i=0
h
i
y[n i],
where the notation h
i
= h[i] is used for clarity. The desired output is
the known transmitted signal value x[n], so the error in the lter output
at this instant is e[n] = x[n] x[n]. We want to choose the h
i
parameters such that the error is minimised.
The squared error is
e
2
[n] = (x[n] x[n])
2
= (x[n]
N
i=0
h
i
y[n i])
2
,
which we can use to work out how h
i
should be changed to decrease the
error. The derivative of the squared error with regard to the impulse
response value h
j
is
de
2
[n]
dh
j
= 2
x[n]
N
i=0
h
i
y[n i]