Create Real Matrix From Eigenvalues VI
- Updated2025-07-30
- 2 minute(s) read
Generates a real matrix from Eigenvalues.

Inputs/Outputs
Eigenvalues
—
Eigenvalues contains the eigenvalues from which you want to create Matrix. Eigenvalues must be real or conjugate pairs.
Matrix
—
Matrix returns the real matrix whose eigenvalues are specified by Eigenvalues.
error
—
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
This VI generates the Matrix in the following form:
where n is the length of Eigenvalues and a0, a1, …, an – 1 are the coefficients of the polynomial P(x).
The following equation defines P(x):
P(x) = (x – λ0)(x – λ1)···(x – λn – 1) = a0 + a1x + a2x² + … + an – 1xn – 1 + xn
where λ0, λ1, …, λn – 1 are the elements in Eigenvalues.
Eigenvalues
—
Matrix
—
error
—