Skip to contents

The function computes the eigenvalues of the input matrix x. It checks if the real part of all eigenvalues is negative. If all eigenvalues have negative real parts, the system is considered stable.

Usage

TestStability(x)

Arguments

x

Numeric matrix.

Author

Ivan Jacob Agaloos Pesigan

Examples

x <- matrix(
  data = c(
    -0.357, 0.771, -0.450,
    0.0, -0.511, 0.729,
    0, 0, -0.693
  ),
  nrow = 3
)
TestStability(x)
#> [1] TRUE