discretizing a continuous state-space model

73 次查看(过去 30 天)
How can I discretize this state-space model using MATLAB:
x°(t)=Ax(t)+BU(t)+g
  1 个评论
Souarv De
Souarv De 2022-5-30
%% STEP 1: Continuous State Space Model (CSSM)
sys = ss(A,B<C<D);
%% Convert CSSM to Discrete State Space Model (DSSM)
sys_dis = c2d(sys,Ts); % Where Ts is the sampling period

请先登录,再进行评论。

回答(1 个)

Wooshik Kim
Wooshik Kim 2018-7-5
编辑:Wooshik Kim 2018-7-5
you can use ss function to create a discrete state space model
discreteSys = ss(A,B,C,D,Ts)
you should also linearize the state space equation with respect to equilibrium point.

类别

Help CenterFile Exchange 中查找有关 Electrical Block Libraries 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by