.Modelica_LinearSystems2.DiscreteTransferFunction.Analysis.denominatorDegree

Information

Syntax

result = DiscreteTransferFunction.Analysis.denominatorDegree(dtf)

Description

Function Analysis.denominatorDegree calculates the degree of the denominator polynomial of a discrete transfer function.

Example

  DiscreteTransferFunction z = Modelica_LinearSystems2.DiscreteTransferFunction.z();
  Modelica_LinearSystems2.DiscreteTransferFunction  dtf=(0.0023753*z^2 + 0.00475059*z + 0.0023753)/(z^2 - 1.89549*z + 0.904988);

  Real dDegree;

algorithm
  dDegree := DiscreteTransferFunction.Analysis.denominatorDegree(dtf);
//  dDegree = 2

Interface

encapsulated function denominatorDegree
  import Modelica_LinearSystems2.DiscreteTransferFunction;
  input DiscreteTransferFunction dtf "Discrete transfer function of a system";
  output Integer result;
end denominatorDegree;

Generated at 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos