MATLAB: Error using step function. Not enough input arguments. Please help me solve this error in the following code. I need to find the step response of the the following function but the error of not enough input arguments is showing up

errorinputstep input

syms s
K=1
Ga=10/(s+5);
Gp=0.1/(s*(s+1));
Gc=K;
g=Ga*Gp*Gc;
step (g)

Best Answer

Right idea, wrong Toolbox.
Try this:
s = tf('s');
K=1
Ga=10/(s+5);
Gp=0.1/(s*(s+1));
Gc=K;
g=Ga*Gp*Gc;
figure
step (g)
This is appropriate for the Control System Toolbox.
It would be appropriate to experiment a bit with it, particularly because:
step_info = stepinfo(g)
indicates that there are problems.
.
Related Question