Draw tangent line in step response ?
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi all. I'm designing the PID controller. When I have drawn my step response function. I need to draw a tangent line at the maximum slope point of step response to find T1, T2 for designing PID controller(like the picture). Could you help me to do this ? This is my code and step response result.
if true
clc
num = [0.25 0.10875];
den = [1 2.496 1.7992 0.325383 0.021463];
plant = tf(num,den);
step(plant)
end
clc
num = [0.25 0.10875];
den = [1 2.496 1.7992 0.325383 0.021463];
plant = tf(num,den);
step(plant)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151861/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151862/image.jpeg)
댓글 수: 0
답변 (1개)
참고 항목
카테고리
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!