368 Chapter 6. Function Reference
# Compare trsp calculation to standard
[ytrsp,uint] = trsp(P,u)
gph2 = ctrlplot(ytrsp);
gph2 = plot(y,gph2,{line
style=4});
gph2 = plot(u,gph2,{line=0,marker=1});
gph2 = plot(uint,gph2,{line
style=3,legend=["trsp calc.";...
"* calc.";"input";"interpolated input"],title=...
"Time response calculation comparisons"})?