lsimplot
Plot simulated time response of dynamic system to arbitrary inputs
Description
The lsimplot
function plots the simulated time response of a
dynamic system model to arbitrary inputs and
returns an LSimPlot
chart object. To customize the plot, modify the
properties of the chart object using dot notation. For more information, see Customize Linear Analysis Plots at Command Line (Control System Toolbox).
To obtain time response data, use lsim
.
Creation
Syntax
Description
plots the simulated response with the plotting options specified in
lp
= lsimplot(___,plotoptions
)plotoptions
. Settings you specify in
plotoptions
override the plotting preferences for the current
MATLAB® session. This syntax is useful when you want to write a script to generate
multiple plots that look the same regardless of the local preferences.
plots the simulated response in the specified parent graphics container, such as a
lp
= lsimplot(parent
,___)Figure
or TiledChartLayout
, and sets the
Parent
property. Use this syntax when you want to create a plot
in a specified open figure or when creating apps in App Designer.
opens the Linear Simulation Tool for simulating lp
= lsimplot(sys
)sys
. For
more information about using this tool for linear analysis, see Working with the Linear Simulation
Tool (Control System Toolbox).
Input Arguments
Properties
Object Functions
addResponse | Add dynamic system response to existing response plot |
Examples
Version History
Introduced in R2012a
See Also
Topics
- Customize Linear Analysis Plots at Command Line (Control System Toolbox)
- Working with the Linear Simulation Tool (Control System Toolbox)