eigvalimag

Imaginary eigenvalues of a matrix.

Syntax

eigvalimag(mat_expr)

Argument

mat_expr
A valid square matrix expression.

Example

Templex Expression Result
{eigvalimag({{0,1},{-2,-3}})} 0,0

Comments

The result is a vector containing the imaginary component of the eigenvalues of mat_expr. If mat_expr is N by N, the result has N elements.