| Function Reference | ![]() |
Initialize an LTI Viewer for LTI system response analysis
Syntax
ltiview ltiview(sys1,sys2,...,sysn) ltiview('plottype',sys1,sys2,...,sysn) ltiview('plottype',sys,extras) ltiview('clear',viewers) ltiview('current',sys1,sys2,...,sysn,viewers)
Description
ltiview
when invoked without input arguments, initializes a new LTI Viewer for LTI system response analysis.
ltiview(sys1,sys2,...,sysn) opens an LTI Viewer containing the step response of the LTI models sys1,sys2,...,sysn. You can specify a distinctive color, line style, and marker for each system, as in
initializes an LTI Viewer containing the LTI response type indicated by ltiview('plottype',sys)
plottype for the LTI model sys. The string plottype can be any one of the following:
plottype can be a cell vector containing up to six of these plot types. For example,
displays the plots of both of these response types for a given system sys.
ltiview( allows the additional input arguments supported by the various LTI model response functions to be passed to the plottype,sys,extras)
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.
However, if plottype is 'initial', the extras arguments must contain the initial conditions x0 and may contain other arguments, such as Tfinal.
See the individual references pages of each possible plottype commands for a list of appropriate arguments for extras.
ltiview('clear',viewers) clears the plots and data from the LTI Viewers with handles viewers.
ltiview('current',sys1,sys2,...,sysn,viewers) adds the responses of the systems sys1,sys2,...,sysn to the LTI Viewers with handles viewers. If these new systems do not have the same I/O dimensions as those currently in the LTI Viewer, the LTI Viewer is first cleared and only the new responses are shown.
ltiview(plottype,sys1,sys2,...sysN) ltiview(plottype,sys1,PlotStyle1,sys2,PlotStyle2,...) ltiview(plottype,sys1,sys2,...sysN,extras)
initializes an LTI Viewer containing the responses of multiple LTI models, using the plot styles in PlotStyle, when applicable. See the individual reference pages of the LTI response functions for more information on specifying plot styles.
See Also
bodeBode 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
| ltiprops | lyap | ![]() |