.Modelica_LinearSystems2.ZerosAndPoles.Analysis.denominatorDegree

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

Interface

encapsulated function denominatorDegree
  import Modelica;
  import Modelica_LinearSystems2.ZerosAndPoles;
  input ZerosAndPoles zp "ZerosAndPoles 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