test_long_ZPK_stability¶
wield.control.SISO.test.test_long_ZPK_stability
This is a pytest, but its test folder is missing. Some of the annotations of the tests may be missing. pytest-html report
Functions
|
Return the scaled companion matrix of c. |
|
|
This is a test of the numerical stability of a very large ZPK filter that spans 18 orders of magnitude |
|
This is a demonstration showing the construction of a statespace using a Chechen companion matrix. |
|
This is a demonstration showing the construction of a statespace using a Chebychev companion matrix. |
Details
- chebcompanion2(c, scale=None)[source][github]¶
Return the scaled companion matrix of c.
The basis polynomials are scaled so that the companion matrix is symmetric when c is a Chebyshev basis polynomial. This provides better eigenvalue estimates than the unscaled case and for basis polynomials the eigenvalues are guaranteed to be real if numpy.linalg.eigvalsh is used to obtain them.
- Parameters:
c (array_like) – 1-D array of Chebyshev series coefficients ordered from low to high degree.
- Returns:
mat – Scaled companion matrix of dimensions (deg, deg).
- Return type:
ndarray
Notes
Added in version 1.7.0.
- test_long_ZPK_stability_plot()[source][github]¶
This is a test of the numerical stability of a very large ZPK filter that spans 18 orders of magnitude