简体   繁体   English

如何从最基本的matlab函数中提取状态空间(e(t))的残差?

[英]How can I extract from ssest matlab function the residues of a state space (e(t))?

A state-space model of a system with input vector u, output vector y, and disturbance e takes the following form in continuous time: 具有输入向量u,输出向量y和扰动e的系统的状态空间模型在连续时间内采用以下形式:

d (x(t)) / dt = Ax(t)+Ke(t) d(x(t))/ dt = Ax(t)+ Ke(t)
y(t) = Cx(t)+e(t) y(t)= Cx(t)+ e(t)

In the MATLAB function ssest I am able to extract the A,C and the K parameters, however I am really interested on extracting the e(t) parameter in order to build the covariance of the residues. 在MATLAB函数中,我能够提取A,C和K参数,但是我确实对提取e(t)参数感兴趣,以便建立ssest的协方差。

  data = iddata(X(:,1:100,10)',[],1);
  opt  = ssestOptions('EstCovar',true);
  sys  = ssest(data,[1:10],opt);

  A = sys.A;                      % state transition matrix
  C = sys.C;                      % observation matrix
  K = sys.K;                      % inovation form

Can someone tell me, if with this function, I am able to do so? 有人可以告诉我,如果使用此功能,我可以做到吗?

e(t) is a disturbance, it's not part of the model (it's an input to the model) so it doesn't make sense to "extract" it, you can't do that. e(t)是一种干扰,它不是模型的一部分(它是模型的输入),因此“提取”它没有任何意义,您不能这样做。 It's whatever you want it to be. 随你便吧。

See the documentation page on ssest for more details. 有关更多详细信息,请参见ssest文档页面

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM