To plot unit-step response curves in matlab, you can follow these steps:
tf function.step function to get the unit-step response of the system.plot function.Here's an example code to draw a unit-step response curve of a transfer function H=1/(s+1):
main.m334 chars15 lines
This code will produce a plot of unit-step response curve for the transfer function H=1/(s+1).
gistlibby LogSnag