Anny idea how i can type in the transfer functions for P, PI, PD and PID and compare them in a bode plot together?

답변 (1개)

Arkadiy Turevskiy
Arkadiy Turevskiy 2016년 4월 29일

1 개 추천

Something like this would do:(note that this requires Control System Toolbox).
P=pid(1)
PI=pid(1,1)
PD=pid(1,0,1)
PID=pid(1,1,1)
bode(P,PI,PD,PID)
legend('P','PI','PD','PID')

카테고리

제품

질문:

2016년 4월 29일

답변:

2016년 4월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by