equivalent discrete system

조회 수: 1 (최근 30일)
hagai bar
hagai bar 2011년 6월 3일
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

채택된 답변

Paulo Silva
Paulo Silva 2011년 6월 3일
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
hagai bar
hagai bar 2011년 6월 4일
thanks alot- exactly what i needed:)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Power and Energy Systems에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by