User`s guide

Table Of Contents
5 Model Analysis Tools
5-10
where sys is any continuous or discrete LTI model or LTI array. For MIMO
models, these commands produce an array of plots with one plot per I/O
channel (or per output for
initial and lsim). For example,
h = [tf(10,[1 2 10]) , tf(1,[1 1])]
step(h)
produces the following plot.
The simulation horizon is automatically determined based on the model
dynamics. You can override this automatic mode by s pecifying a final time
step(sys,10) % simulates from 0 to 10 seconds
oravectorofevenlyspacedtimesamples.
t = 0:0.01:10 % time samples spaced every 0.01 second
step(sys,t)