MICexam PDF
MICexam PDF
Remark: making use of MATLAB R2014A only, write two stand-alone m-files (named es1.m and
es2.m) to solve the problems, respectively. Write by hand a clear report that includes the reasoning
behind the computations, the main numerical results and their possible critical analysis.
Problem #1: the input-output measurements of a SISO dynamic system S1 to be modeled have
been collected in the MATLAB data1.mat file.
1) Identify ARX, ARMAX and OE models of different orders and delays, using only a part of the
experimental data and looking for models that guarantee satisfactory characteristics of whiteness of
the residuals associated to this first dataset.
2) Compare the identified models on a different set of data not useds for identification. To assess
1 N
the model quality, minimize the Root Mean Square Error RMSE = [y(t) − ŷ(t)]2 ,
P
N − N0 t=N0 +1
where y(t) = measured output, ŷ(t) = simulated (or predicted) output and N0 is a suitable time
instant after which the transient is past. Choose the best trade-off between RMSE and model
complexity: n = na + nb (for ARX models), n = na + nb + nc (for ARMAX models) and n = nf + nb
(for OE models), if the model is used for prediction purposes; n = na (for ARX and ARMAX models)
and n = nf (for OE models), if the model is used for simulation purposes.
3) Using all the experimental data, estimate the parameters of an ARX(3, 3, 1) model by means of
the standard Least-Squares algorithm and compare:
- the Estimate Uncertainty Intervals EUI 2 and, if possible, the Parameter Uncertainty Intervals
P UI 2 , assuming that the output measurements are corrupted by an energy-bounded noise whose
2-norm is less than 4;
- the Estimate Uncertainty Intervals EUI ∞ , assuming that the output measurements are corrupted
by an amplitude-bounded noise whose ∞-norm is less than 0.1.
where x̂k (t) is the estimate of the state xk (t) and N0′ is a suitable time instant after which the filter
or predictor transient is past.