How can I make a step response graph for open Loop Ziegler-Nichols Method?
15 views (last 30 days)
Greetings. I am very new in MATLAB. I want to draw a step response graph for Open Loop Ziegler-Nichols Method. the equation is attached here. Actually, I can't understand, how to code the numerator and denominator. Thanks in advance.
David K. on 2 Oct 2019
When trying to do transfer functions in matlab one very nice way to do it is with
s = tf('s');
Now, s indicates it is a transfer function you can actually just type the rest of your equations as you would want.
k = k; d = d; tau = tau; % These are just saying that you should define these yourself
G = k*exp(-d*s)/(tau*s+1); % Create the transfer function
step(G); % Plot the transfer function