Ps 1
Ps 1
where w(n) is WGN. Let θ = (a0 , a1 , . . . , aM , b1 , . . . , bm )T . Find the LS solution in Matlab for N = 10, 20.
Find the covariance of the LS estimator.
2. Weighted LS: Find the weighted LS solution for Problem 1 with weighting matrix W = cov−1 (w(n)).
3. Recursive LS: Let y(n) = Ax(n) + w(n), n = 1, . . . , N . Determine A using recursive LS for N = 15, 25.
4. Regularized LS: Find the regularized LS solution for Problem 1 with λ = 1 i.e., ridge regression estimator. Find
the lasso estimator and compare with ridge regularized estimator. Find the covariance of the estimator.
5. Noisy regressor: Let v(k) = v0 + nv (k), i(k) = i0 + ni (k) where nv and ni denote voltage and current noise
during measurements at time k. Let nv , ni be iid, zero mean with finite variances σv2 , σi2 . Find the value of the
resistor for different values of σv2 , σi2 and compare the resistor values.
6. Repeat problems 1,2 and 4 to determine the impulse response of a SISO discrete time LTI system from N noisy
output measurements given N sinusoidal inputs of different frequencies.
7. Consider a discrete LTI system x(k + 1) = Ax(k) + Bu(k), y(k) = Cx(k) which is observable. Find the initial
state x(0) using LS. Suppose y(k) = Cx(k) + v(k) where v(k) is WGN. Find x(0) using LS methods.
8. Nonlinear Least squares: Let y(n) = sin ωn + v(n) where v is white Gaussian. Estimate ω from N measure-
ments.
9. MLE estimators: Find the MLE solution to Problem 1.
10. MLE estimators: Consider Y ∼ N (µ, σ 2 ) and let D = {yn : n = 1 : N } be an iid sample of size N . Let
θ = (µ, σ 2 ) be the parameters to be estimated. Use MLE to estimate θ and find MLE estimators for µ and σ 2 .
Are they familiar?
11. Get familiar with QR and SVD decomposition in Matlab.
12. Get familiar with solving optimization problems in Matlab e.g., least squares problems and nonlinear optimiza-
tion problems (e.g., A/b to solve Ax = b, lsqlin, fmincon, lsqnonlin etc.).
13. Revise weak and strong law of large numbers and the central limit theorem.
14. Get familiar with the method of instrumental variables in Matlab.