n4sid 'prediction' focus vs. n4sid 'simulation' focus
조회 수: 21 (최근 30일)
이전 댓글 표시
Why are there 'prediction' or 'simulation' settings in n4sidOptions? I thought that subspace identification finds a state space realization directly from input/output data.
I tried toggling this option on the n4sid algorithm for my dataset and found that the state space matrices were identical between the 'prediction' focus and 'simulation' focus options.
Is there something that I am missing here?
댓글 수: 0
채택된 답변
Chidvi Modala
2019년 8월 8일
As specified in the n4sid documentation, it estimates state space model using measured input-output data. The output represents the following system
xdot(t)=Ax(t)+Bu(t)+Ke(t)
y(t)=Cx(t)+Du(t)+e(t)
where e(t) is the disturbance
The model parameters are estimated by minimizing the error between the model output and measured response. The noise component is not trivial for n4sid. So ep(t) and es(t) are not equivalent. You can refer to https://www.mathworks.com/help/ident/ug/model-quality-metrics.html
댓글 수: 0
추가 답변 (1개)
Chidvi Modala
2019년 8월 6일
n4sid estimates state-space realization from input/output data. ‘prediction’ and ‘simulation’ settings in n4sidOptions determines the error to be minimized in the loss function during estimation.
‘prediction’ option focuses on minimizing error between measured and predicted outputs during estimation. ‘simulation’ option focuses on minimizing error between measured and simulation outputs during estimation.
참고 항목
카테고리
Help Center 및 File Exchange에서 State-Space Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!