Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

polyeign (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: polynomials

Requires: MathScript RT Module

Syntax

[x, eig] = polyeign(a0, a1, ... , an)

Legacy Name: polyeig

Description

Solves the polynomial eigenvalue problem of degree n: (a0+lambda*a1+...+lambda^n*an)*x = 0. You can specify an unlimited number of input matrices. All matrices must be square and of the same size.

Examples

Inputs

Name Description
a0 Specifies a real or complex square matrix.
a1 Specifies a real or complex square matrix of the same size as a0.
an Specifies a real or complex square matrix of the same size as a0.

Outputs

Name Description
x Returns a matrix whose columns represent the eigenvectors of the input matrices.
eig Returns the eigenvalues of the input matrices. eig is a vector.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

A0 = [1, 2; 3, 4]
A1 = [2, 1; 1, 0]
A2 = [-1, -1; 0, 2]
[X, EIG] = polyeign(A0, A1, A2)

Related Topics

eig


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit