discretizing a continuous state-space model

99 visualizaciones (últimos 30 días)
Mahsa Sotoudeh
Mahsa Sotoudeh el 5 de Jul. de 2018
Comentada: Souarv De el 30 de Mayo de 2022
How can I discretize this state-space model using MATLAB:
x°(t)=Ax(t)+BU(t)+g
  1 comentario
Souarv De
Souarv De el 30 de Mayo de 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

Iniciar sesión para comentar.

Respuestas (1)

Wooshik Kim
Wooshik Kim el 5 de Jul. de 2018
Editada: Wooshik Kim el 5 de Jul. de 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.

Categorías

Más información sobre Dynamic System Models en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by