equivalent discrete system

1 visualización (últimos 30 días)
hagai bar
hagai bar el 3 de Jun. de 2011
if i have the A,B,C and D matrices of the continuous system, is there a way to get the equivalent discrete system(with a sampling time of my choice)? i know how to do the calculations myself to get As,Bs,Cs,Ds matrices but was just wondering if there's a function that can save me some time thanks

Respuesta aceptada

Paulo Silva
Paulo Silva el 3 de Jun. de 2011
use the c2d function from the Control System Toolbox
Example from ctms
M = 1;
b = 10;
k = 20;
A = [0 1;
-k/M -b/M];
B = [ 0;
1/M];
C = [1 0];
D = [0];
Ts = 1/100;
sys = ss(A,B,C,D);
sys_d = c2d(sys,Ts,'zoh')
  1 comentario
hagai bar
hagai bar el 4 de Jun. de 2011
thanks alot- exactly what i needed:)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Power and Energy Systems 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