Why cant I predict kstep ahead when adding System Identification models?
显示 更早的评论
Hello, how are you doing?
I have the following question about System Identification: if I add multiple system identification models, such as ARX models, I obtain as a result a State-space model that ignore the kstep parameter in the prediction.
For example:
load iddata1 z1;
sys = ssest(z1,3);
If i do:
compare(z1,sys,1)
OR
compare(z1,sys,inf)
the results are completely different, as expected!
However, if I have the combination of two models,
sys2 = sys + sys;
when i use compare(z1,sys,inf) or compare(z1,sys,1), the results are the same! It just ignore the kstep parameter!
Can anyone explaine me what is going on? How can I add two systems and still make a 1 step ahead prediction?
PS: sys2 = sys + sys is equivalente to parallel(sys,sys).
Thanks a lot!
采纳的回答
更多回答(1 个)
Paresh yeole
2020-6-1
0 个投票
Check this link.
It says :
'compare ignores kstep when sys is an iddata object, an FRD model, or a dynamic system with no noise component. compare also ignores kstep when using frequency response validation data. '
类别
在 帮助中心 和 File Exchange 中查找有关 Compare Output with Measured Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!