Generates a real matrix from Eigenvalues.


icon

Inputs/Outputs

  • c1dcdb.png Eigenvalues

    Eigenvalues contains the eigenvalues from which you want to create Matrix. Eigenvalues must be real or conjugate pairs.

  • i2ddbl.png Matrix

    Matrix returns the real matrix whose eigenvalues are specified by Eigenvalues.

  • ii32.png 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.