Compare error plot in command line for system id toolbox model/data object
조회 수: 6 (최근 30일)
이전 댓글 표시
Hi All,
I am using system id toolbox and I am trying to reproduce the "Error Plot" using the command line. Here is my code. I would appreciate better way to do this.
error = Validation.y - ypred % Validaton is iddata obj used in system id GUI
ypred = sim(idpoly_model,Validation.u) % model is in idpoly obj.
For ypred, I do not know how to set initial conditions so that the "error" would look similar to what I have in the System Id GUI
Thanks a lot!
Carfield
댓글 수: 0
답변 (1개)
Rajiv Singh
2012년 3월 17일
Have you looked at RESID and PE routines? PE calculates prediction errors and allows specification of initial conditions.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Correlation Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!