| Control System Toolbox | Search  Help Desk |
| ltiview | Examples See Also |
Initialize an LTI Viewer for LTI system response analysis
Syntax
ltiview ltiview(plottype,sys) ltiview(plottype,sys,extras) ltiview(plottype,sys1,sys2,...sysN) ltiview(plottype,sys1,sys2,...sysN,extras) ltiview(plottype,sys1,PlotStyle1,sys2,PlotStyle2,...)
Description
ltiview
when invoked without input arguments, initializes a new LTI Viewer for LTI system response analysis.
Only frequency-domain analysis functions can be applied to FRDs.
ltiview(plottype,sys)
initializes an LTI Viewer containing the LTI response type indicated by plottype for the LTI model sys. The string plottype can be any one of the following:
'step' 'impulse' 'initial' 'lsim' 'pzmap' 'bode' 'nyquist' 'nichols' 'sigma'or,
plottype can be a cell vector containing up to six of these plot types.
For example,
ltiview({'step';'nyquist'},sys)
displays the plots of both of these response types for a given system sys.
ltiview(plottype,sys,extras)
allows the additional input arguments supported by the various LTI model response functions to be passed to the ltiview command.
extras is one or more input arguments as specified by the function named in plottype. These arguments may be required or optional, depending on the type of LTI response. For example, if plottype is 'step' then extras may be the desired final time, Tfinal, as shown below.
ltiview('step',sys,Tfinal)
However, if plottype is 'initial', the extras arguments must contain the initial conditions x0 and may contain other arguments, such as Tfinal.
ltiview('initial',sys,x0,Tfinal)
See the individual references pages of each possible plottype commands for a list of appropriate arguments for extras.
Finally,
ltiview(initializes an LTI Viewer containing the responses of multiple LTI models, using the plot styles inplottype,sys1,sys2,...sysN) ltiview(plottype,sys1,sys2,...sysN,extras) ltiview(plottype,sys1,PlotStyle1,sys2,PlotStyle2,...)
PlotStyle, when applicable. See the individual reference pages of the LTI response functions for more information on specifying plot styles.
Example
See Chapter 6, "The LTI Viewer."See Also
bode Bode response
impulseImpulse response
initialResponse to initial condition
lsimSimulate LTI model response to arbitrary inputs
nicholsNichols response
nyquistNyquist response
pzmap Pole/zero map
sigmaSingular value response
stepStep response