필터 지우기
필터 지우기

discretizing a continuous state-space model

조회 수: 73 (최근 30일)
Mahsa Sotoudeh
Mahsa Sotoudeh 2018년 7월 5일
댓글: Souarv De 2022년 5월 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