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