encapsulated function impulse import Modelica_LinearSystems2; import Modelica_LinearSystems2.DiscreteTransferFunction; input DiscreteTransferFunction dtf "zeros-and-poles transfer function"; input Real tSpan = 0 "Simulation time span [s]"; extends Modelica_LinearSystems2.Internal.PartialPlotFunction(defaultDiagram = Modelica_LinearSystems2.Internal.DefaultDiagramTimeResponse(heading = "Impulse response of zp = " + String(dtf))); end impulse;