.Modelica_LinearSystems2.TransferFunction.Analysis.denominatorDegree

Information

Syntax

result = TransferFunction.Analysis.denominatorDegree(tf)

Description

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

Example

   TransferFunction s = Modelica_LinearSystems2.TransferFunction.s();
   Modelica_LinearSystems2.TransferFunction tf=(s+1)/(s^2+s+1);

   Real dDegree;

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

See also

TransferFunction.Analysis.numeratorDegree

Interface

encapsulated function denominatorDegree
  import Modelica_LinearSystems2.TransferFunction;
  input TransferFunction tf "transfer function of a system";
  output Integer result;
end denominatorDegree;

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