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
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
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Electrical Block Libraries에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!