functioneigenValues
Calculate the eigen values of a linear zeros-and-poles transfer function and write them in a complex vector
Information
Syntax
eigenvalues = ZerosAndPoles.Analysis.eigenValues(zp)
Description
Calculate the eigenvalues of the corresponding state space representation of a zeros-and-poles transfer function. The output is a complex vector containing the eigenvalues. Note, that the conversion of the transfer function does not result in a minimal state space system. Therefore also unobservable and uncontrollable eigenvalues will be calculated.
Example
ZerosAndPoles p = Modelica_LinearSystems2.ZerosAndPoles.p();
Modelica_LinearSystems2.ZerosAndPoles zp=(p+1)/(p^2+p+1);
Complex eigenvalues[2];
algorithm
eigenvalues = Modelica_LinearSystems2.ZerosAndPoles.Analysis.eigenValues(zp);
// eigenvalues = {-0.5 + j*sqrt(3)/2, -0.5 - j*sqrt(3)/2}
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| ZerosAndPoles | zp | ZerosAndPoles transfer function of a system |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Complex[:] | eigval | eigen values of the system |