.Modelica_LinearSystems2.WorkInProgress.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

   TransferFunction z = Modelica_LinearSystems2.DiscreteTransferFunction.z();
   Modelica_LinearSystems2.DiscreteTransferFunction dtf=(z+1)/(z^2+z+1);

   Real dDegree;

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

Interface

encapsulated function denominatorDegree
  import Modelica;
  import Modelica_LinearSystems2.Math.Polynomial;
  import Modelica_LinearSystems2.WorkInProgress.DiscreteTransferFunction;
  input DiscreteTransferFunction dtf "discrete transfer function of a system";
  output Integer result;
end denominatorDegree;

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