.Modelica_LinearSystems2.WorkInProgress.DiscreteZerosAndPoles.Analysis.denominatorDegree

Information

Syntax

result = DiscreteZerosAndPoles.Analysis.denominatorDegree(dzp)

Description

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

Example

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

   Real dDegree;

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

See also

DiscreteZerosAndPoles.Analysis.numeratorDegree

Interface

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

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