TOOLS / STEP RESPONSE

Step response calculator

Enter a transfer function and get its unit-step response with rise time, peak overshoot and settling time. Choose K·G(s) itself or the unity-feedback closed loop K·G/(1 + K·G).

System / G(s) = N(s) / D(s)

Coefficients in descending powers (1 3 2) or an expression such as s(s+1)(s+2).

L(s) = K·G(s); the closed loop is K·G/(1 + K·G) with unity negative feedback.

G(s) =−10s + 500.24s² + 4.06s + 3.5
Poles of G(s)
−16.01−0.9111
Zeros of G(s)
5
DC gain G(0)
14.29
Closed-loop poles at this K (1)
12.38 ± 8.353j
Stability
Closed loop unstable: 2 poles in the right half-plane.
Response of

Simulated system: T(s) =−10s + 500.24s² + 4.06s + 3.5

Final value
14.29
Rise time (10–90%)
2.412 s
Peak overshoot
no overshoot
Peak time
—
Settling time (2%)
4.542 s
Initial undershoot
9.51%

Same result in code

MATLAB
% G(s) = (-10s + 50) / (0.24s^2 + 4.06s + 3.5)
G = tf([-10 50], [0.24 4.06 3.5]);
K = 1;
T = K*G;
step(T); grid on
S = stepinfo(T)   % 10–90% rise time, 2% settling band by default
Python (python-control)
import control as ct

G = ct.tf([-10, 50], [0.24, 4.06, 3.5])
K = 1
T = K*G
resp = ct.step_response(T)
print(ct.step_info(T))  # RiseTime 10–90%, SettlingTime 2% by default

MATLAB uses the Control System Toolbox; Python uses python-control 0.10 or later (pip install control).

WHAT IT COMPUTES

What this calculator computes

The response y(t) to a unit step applied at t = 0 with zero initial conditions, and the standard transient specifications measured from it.

For the default example 4/(s² + 2s + 4), a standard second-order system with ζ = 0.5 and ωn = 2 rad/s, the calculator gives 16.3% overshoot at 1.814 s, a 10–90% rise time of 0.819 s and a 2% settling time of 4.04 s. The overshoot and peak time agree with the closed-form values e^(−πζ/√(1−ζ²)) and π/ωd.

READ THE RESULT

How to read the result

  • Final value: the DC gain T(0), reached only when every pole is in the left half-plane. All other metrics are measured against it.
  • Rise time: the time from 10% to 90% of the final value. Peak overshoot: the largest excursion beyond the final value, as a percentage of it.
  • Settling time: the last time the response leaves the ±2% band around the final value. A dip in the wrong direction first (a right-half-plane zero) is reported as undershoot.
METHOD

Method and conventions

  • The response is exact at every sample, not integrated step by step: a state-space realization is extended with the constant input, and each sample is advanced by the matrix exponential e^(Mh). Stiff systems with very fast and very slow poles need no special treatment.
  • Crossing times are then located between samples by bisection on the same exact solution, so the metrics do not depend on the plot resolution. The definitions match MATLAB stepinfo and python-control step_info defaults.
LIMITS

If any pole is on the imaginary axis or in the right half-plane, there is no final value, and the calculator plots the growing or oscillating response without metrics. Initial conditions, input limits and delay are not modeled.