functionnumeratorDegree
Return numerator degree of a ZerosAndPoles transfer function
Information
Syntax
result = ZerosAndPoles.Analysis.numeratorDegree(zp)
Description
Function Analysis.numeratorDegree calculates the degree of the numerator polynomial constituted by the first and second order polynomials of the ZeroAndPoles numerator.
Example
ZerosAndPoles p = Modelica_LinearSystems2.ZerosAndPoles.p(); Modelica_LinearSystems2.ZerosAndPoles zp=(p+1)/(p^2+p+1); Real nDegree; algorithm nDegree := ZerosAndPoles.Analysis.numeratorDegree(zp); // nDegree = 1
See also
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| ZerosAndPoles | zp | ZerosAndPoles transfer function of a system |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | result |