Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

hess (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the linalgebra class.

Syntax

[h, t] = hess(a)

Description

Converts a matrix to Hessenberg form and returns the unitary transformation matrix. The Hessenberg form of a matrix has elements equal to 0 below the first subdiagonal.

Details

Examples

Inputs

Name Description
a Specifies a square matrix.

Outputs

Name Description
h Returns a in Hessenberg form. h is a matrix of the same size as a. If a is a symmetric or Hermitian matrix, h is tridiagonal.
t Returns the unitary transformation matrix. t is a matrix of the same size as a.

Details

The Hessenberg matrix h satisfies the following unitary similarity transformation: a = t*h*t' with t*t' = t'*t = eye(size(a)).

Examples

A = [2, -4, 7; -1, 9, 0; -4, -7, 3]
[H, T] = hess(A)
C = T*H*T'
D = T*T'


Resources


 

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