DynamicSystems - Maple Programming 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

Parameters

Options

Description

Examples

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

Options

• 

In addition to the following options, the ImpulseResponsePlot command takes many of the standard plot options; see plot,options.

• 

parameters = set(name = complexcons) or list(name = complexcons)

  

Specifies numeric values for parameters in sys. These values override those specified by the parameters field of the system object, which in turn override the settings in in SystemOptions(parameters). The numeric value on the right-hand side of each equation is substituted for the name on the left-hand side in the expressions that define the model. No checking is done during the substitution to determine whether the substituted value is valid. For example, a complex value can be substituted for the coefficient of a polynomial. If the complex value had been originally assigned to the model at creation, a warning would be generated.

• 

subsystem = [ posint, posint ] or list of same

  

Selects subsystems of a multi-input/multi-output system. Each selected subsystem is specified as a list of two indices: the first specifies the output and the second specifies the input. For example, 1,2 specifies the subsystem from the second input to the first output. A list of lists selects multiple subsystems. The default setting is to select all subsystems, using Fortran ordering. That is, for an m x n system, the default list of subsystems is [ [1,1], ..., [m,1], ..., [1,n], ..., [m,n] ].

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:

sys1TransferFunctionss1s+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.

sys2ToDiscretesys1,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