Use System Identification Toolbox Model with input parameters
조회 수: 12 (최근 30일)
이전 댓글 표시
Hi,
I used the System Identification Model to make a polynomial model with three inputs and one output. This of course yields a discrete polynomial system. I can export this as a idpoly object to the workspace. My question is how I can use this object to create predictions?
The goal with my model is to create predictions for a system let's say 10 sampls in the future, and then compare them to some measurements. I want the model to use the three inputs, but also utilize some old measurements as the inital values for the prediction. What is the easiest/best way to achieve this?
I have looked at lsim(), but I can't make it work with the x0 parameter
댓글 수: 0
채택된 답변
Star Strider
2022년 4월 8일
[sys,ic] = polyest(___) returns the estimated initial conditions as an initialCondition object. Use this syntax if you plan to simulate or predict the model response using the same estimation input data and then compare the response with the same estimation output data. Incorporating the initial conditions yields a better match during the first part of the simulation.
That is the only way I am aware of to return the intital conditions from a polynomial model. (Similar options exist for other estimation functions, such as tfest and ssest.)
.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Transfer Function Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!