.Modelica_LinearSystems2.DiscreteZerosAndPoles.Analysis.denominatorDegree

Information

Syntax

result = DiscreteZerosAndPoles.Analysis.denominatorDegree(zp)

Description

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

Example

  DiscreteZerosAndPoles p = Modelica_LinearSystems2.DiscreteZerosAndPoles.p();
  Modelica_LinearSystems2.DiscreteZerosAndPoles dzp=(q+0.1)/(p^2 + 0.8*p+ 0.2);

  Real dDegree;

algorithm
  dDegree := DiscreteZerosAndPoles.Analysis.denominatorDegree(dzp);
//  dDegree = 2

See also

DiscreteZerosAndPoles.Analysis.numeratorDegree

Interface

encapsulated function denominatorDegree
  import Modelica;
  import Modelica_LinearSystems2.DiscreteZerosAndPoles;
  input DiscreteZerosAndPoles dzp "DiscreteZerosAndPoles transfer function of a system";
  output Integer result;
end denominatorDegree;

Generated at 2021-04-18T01:03:03Z by OpenModelicaOpenModelica 1.18.0~dev-228-gf450566 using GenerateDoc.mos