equivalent discrete system
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Paulo Silva
2011-6-3
use the c2d function from the Control System Toolbox
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')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Power and Energy Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!