control.matlab.hsvd
- control.matlab.hsvd(sys)[source]
Calculate the Hankel singular values.
- Parameters
sys (StateSpace) – A state space system
- Returns
H – A list of Hankel singular values
- Return type
array
See also
Notes
The Hankel singular values are the singular values of the Hankel operator. In practice, we compute the square root of the eigenvalues of the matrix formed by taking the product of the observability and controllability gramians. There are other (more efficient) methods based on solving the Lyapunov equation in a particular way (more details soon).
Examples
>>> G = ct.tf2ss([1], [1, 2]) >>> H = ct.hsvd(G) >>> H[0] np.float64(0.25)