functiondenominatorDegree

Return denominator degree of a ZerosAndPoles transfer function

Information

Syntax

result = ZerosAndPoles.Analysis.denominatorDegree(zp)

Description

Function Analysis.denominatorDegree calculates the degree of the denominator polynomial constituted by the first and second order polynomials of the ZeroAndPoles denominator.

Example

  ZerosAndPoles p = Modelica_LinearSystems2.ZerosAndPoles.p();
  Modelica_LinearSystems2.ZerosAndPoles zp=(p+1)/(p^2+p+1);

  Real dDegree;

algorithm
  dDegree := ZerosAndPoles.Analysis.denominatorDegree(zp);
//  dDegree = 2

See also

ZerosAndPoles.Analysis.numeratorDegree

Inputs

TypeNameDefaultDescription
ZerosAndPoleszpZerosAndPoles transfer function of a system

Outputs

TypeNameDefaultDescription
Integerresult