How to code a PID controller using int and diff function?

dt = 1;
for i=1:dt:20
e1=x1d-y(1);
Ux=kp5*e1+ki5*integral(e1,0,Inf)+kd5*diff(e1)

回答 (0 件)

カテゴリ

質問済み:

2020 年 10 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by