One can calculate ARMA-coefficients using the armax-algorithm from the Systems Identification Toolbox.
The final set of coefficients can be determined using the following code:
estimatedPolymodel=armax(iddata(outputdata,inputdata,tsample),[na nb nc nk], opt);ARcoeff=estimatedPolymodel.AMAcoeff=estimatedPolymodel.B
But how can we print the (preliminary) estimated sets of coefficients at each iteration step of the algorithm?
Best Answer