Resid command and treatment of iddata

4 次查看(过去 30 天)
Hello all,
I have been struggling for hours, and I do not seem to get a very simple thing...
I use the command resid in order to obtain residuals from predictions of an AR model I already estimated using the ar command. I see that I can plot these residuals, but how can I actually obtain them in a vector, in order to be able to use them somewhere else? In general, how can I get, better transform, iddata into "normal" form?
Thanks
Kyriacos

采纳的回答

Arkadiy Turevskiy
If you did
>>e=resid(model,data);
then all you do to get the residuals as a vector is
>>resid_vector=e.y;
In general to access idatada signal just do
>>data.u
>>data.y
See doc iddata for more details.
HTH. Arkadiy

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Residual Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by