You are on page 1of 10

Time-Domain Characteristics on Response Plots

%%Create a transfer function model and


plot its response to a step input at t = 0.
H = tf([8 18 32],[1 6 14 24]);
stepplot(H)
Display the peak response on the plot.
Right-click anywhere in the figure and select Characteristics > Peak
Response from the menu.
A marker appears on the plot indicating the peak response. Horizontal and
vertical dotted lines indicate the time and amplitude of that response.
Click the marker to view the value of the peak response and the
overshoot in a datatip.
Practice Problems
Step-Response Characteristics of Dynamic System
Compute step-response characteristics such as rise time, settling time, and
overshoot for a dynamic system model. For this example, use the
continuous-time transfer function:

%%Create the transfer function and examine


its step response.

sys = tf([1 5 5],[1 1.65 5 6.5 2]);


step(sys)
S = stepinfo(sys)
Obtain The Step Response and time domain characteristics
Ramp Characteristics
of Dynamic System
Impulse Characteristics of Dynamic System
Create the following continuous-time transfer
function:

sys = tf([1 -1],[1 2 3 4]);

%%Calculate the impulse response.


[y,t] = impulse(sys);

%%impulse returns the output response y and the


time vector t used for simulation.

%%Compute the response characteristics


using a final response value of 0.
s = lsiminfo(y,t,0)

impulse(sys) %%plot impulse response

You might also like