discretizing a continuous state-space model

69 visualizzazioni (ultimi 30 giorni)
Mahsa Sotoudeh
Mahsa Sotoudeh il 5 Lug 2018
Commentato: Souarv De il 30 Mag 2022
How can I discretize this state-space model using MATLAB:
x°(t)=Ax(t)+BU(t)+g
  1 Commento
Souarv De
Souarv De il 30 Mag 2022
%% 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

Accedi per commentare.

Risposte (1)

Wooshik Kim
Wooshik Kim il 5 Lug 2018
Modificato: Wooshik Kim il 5 Lug 2018
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.

Categorie

Scopri di più su Dynamic System Models in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by