plot the impulse response of a system - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Science and Engineering : Dynamic Systems : Plotting and Graphical Tools : DynamicSystems/ImpulseResponsePlot

DynamicSystems[ImpulseResponsePlot] - plot the impulse response of a system

Calling Sequence

ImpulseResponsePlot( sys, duration, opts )

Parameters

sys

-

System; system object to plot

duration

-

realcons

opts

-

(optional) equation(s) of the form option = value; specify options for the ImpulseResponsePlot command

Description

• 

The ImpulseResponsePlot command plots the impulse response of selected subsystems of sys, a System object.

• 

The second parameter, duration, specifies the time interval to plot. The impulse response is plotted for time starting at zero to duration. If sys is a discrete system, then the number of discrete intervals in the interval depends on  sys:-sampletime.

• 

For a continuous system, the command DynamicSystems[ImpulseResponse] is used to compute the impulse response of the system.

• 

For a discrete system, the command DynamicSystems[ResponsePlot] is used to generate the impulse response plot.

• 

The ImpulseResponsePlot command takes all standard plot,options.

Examples

withDynamicSystems:

sys1:=TransferFunctionss1s+2s+4s+6:

ImpulseResponsePlotsys1,3

Convert sys1 to a discrete representation, using a sampletime of 1/20 second. These are the commands to create the plot from the Plotting Guide.

sys2:=ToDiscretesys1,120,method=zoh:

ImpulseResponsePlotsys2,3,color=blue

See Also

DynamicSystems, DynamicSystems[ImpulseResponse], DynamicSystems[ResponsePlot], DynamicSystems[SystemObject]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam