(H, Q)=hess(a)
Inputs  
a 
Any real or complex square matrix. 
Outputs  
H 
A matrix of the same size as a . All of the elements of the matrix below the first subdiagonal to the left of the main diagonal are zero.

Q 
A unitary matrix. 
Q'*a*Q=H
.