functionstep

Step response plot of a discrete zeros-and-poles transfer function

Extends from Modelica_LinearSystems2.Internal.PartialPlotFunction (Interface of a plot function).

Information

Syntax

DiscreteZerosAndPoles.Plot.step(dzp)
   or
DiscreteZerosAndPoles.Plot.step(
  dzp,
  tSpan,
  x0,
  columnLabels,
  defaultDiagram=Modelica_LinearSystems2.Internal.DefaultDiagramTimeResponse(),
  device=Modelica_LinearSystems2.Utilities.Plot.Records.Device())

Description

This function plots the step response of a transfer function. It is based on timeResponse.

Example

  DiscreteZerosAndPoles q = Modelica_LinearSystems2.DiscreteZerosAndPoles.q();
  Modelica_LinearSystems2.DiscreteZerosAndPoles dzp=(q^2 - 1.5*q + 0.6)/((q - 0.8)*(q - 0.75));
  dzp.Ts = 0.1;

algorithm
  Modelica_LinearSystems2.DiscreteZerosAndPoles.Plot.step(dzp, tSpan=3)
  // gives:

See also

impulse, ramp, initialResponse

Inputs

TypeNameDefaultDescription
DiscreteZerosAndPolesdzp
RealtSpan0Simulation time span [s]
Plot.Records.DiagramdefaultDiagram (from PartialPlotFunction)Default diagram layout
Plot.Records.Devicedevice (from PartialPlotFunction)Modelica_LinearSystems2.Utilities.Plot.Records.Device()Properties of device where figure is shown