functiondenominatorDegree
Return denominator degree of the corresponding transfer function
Information
Syntax
result = StateSpace.Analysis.denominatorDegree(ss)
Description
Function Analysis.denominatorDegree calculates the degree of the denominator polynomial of the corresponding transfer function. The state space system is converted to the transfer function G(s)=N(s)/D(s) with the polynomial D(s) as denominator.
Example
Modelica_LinearSystems2.StateSpace ss=Modelica_LinearSystems2.StateSpace(
A=[-1],
B=[1],
C=[1],
D=[1]);
Real dDegree;
algorithm
dDegree := StateSpace.Analysis.denominatorDegree(Modelica_LinearSystems2.StateSpace(ss);
// nDegree = 1
See also
StateSpace.Conversion.toTransferFunction, StateSpace.Analysis.numeratorDegree
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| StateSpace | ss | State space system |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | result | Degree of denominator polynomial |