functiondenominatorDegree
Return denominator degree
Information
Syntax
result = DiscreteTransferFunction.Analysis.denominatorDegree(dtf)
Description
Function Analysis.denominatorDegree calculates the degree of the denominator polynomial of a discrete transfer function.
Example
TransferFunction z = Modelica_LinearSystems2.DiscreteTransferFunction.z(); Modelica_LinearSystems2.DiscreteTransferFunction dtf=(z+1)/(z^2+z+1); Real dDegree; algorithm dDegree := TransferFunction.Analysis.denominatorDegree(dtf); // dDegree = 2
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| DiscreteTransferFunction | dtf | discrete transfer function of a system |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | result |