functiondenominatorDegree

Return denominator degree

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

Inputs

TypeNameDefaultDescription
TransferFunctiontfTransfer function of a system

Outputs

TypeNameDefaultDescription
Integerresult