Step Transfer Function - give input, take output value
5 次查看(过去 30 天)
显示 更早的评论
I would simulate and validate my pid microcontroller implementation in matlab.
I have some object described like eg.:
es = tf('s');
sys = 1 / (R1*C1*es + 1);
sysd = c2d(sys, Ts); % Ts=0.5
I would set initial value, put some input value, make something like a step, take output value and repeat everything in loop for calculating next input values.
How to do it? I tried edit lsim but there is no acutual source code.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!