Impulseplot
Plot impulse response with additional plot customization options
Syntax
描述
Impulseplot
lets you plot dynamic system impulse responses with a broader range of plot customization options thanimpulse
。You can useImpulseplot
to obtain the plot handle and use it to customize the plot, such as modify the axes labels, limits and units. You can also useImpulseplot
to draw an impulse response plot on an existing set of axes represented by an axes handle. To customize an existing impulse plot using the plot handle:
Obtain the plot handle
Use
getoptions
to obtain the option set更新图使用
setoptions
to modify the required options
有关更多信息,请参阅Customizing Response Plots from the Command Line(控制系统工具箱)。To create impulse plots with default options or to extract impulse response data, useimpulse
。
绘制了脉冲响应的dynamic system modelh
= impulseplot(系统
)系统
and returns the plot handleh
到情节。您可以使用此手柄h
to customize the plot with thegetoptions
andsetoptions
commands.
simulates the impulse response fromh
= impulseplot(___,tFinal
)t = 0
to the final timet = tFinal
。SpecifytFinal
in the system time units, specified in theTimeUnit
property of系统
。For discrete-time systems with unspecified sample time(Ts = -1)
,Impulseplot
interpretstFinal
as the number of sampling intervals to simulate.
plots the impulse response with the options set specified inh
= impulseplot(___,情节
)情节
。You can use these options to customize the impulse plot appearance using the command line. Settings you specify in情节
覆盖MATLAB中的首选项设置®session in which you runImpulseplot
。Therefore, this syntax is useful when you want to write a script to generate multiple plots that look the same regardless of the local preferences.