www.omatrix.com





:: O-Matrix ::
> Overview
> Examples
> Performance
> Analysis Functions
> Data Visualization
> The O-Matrix Language
> Data Manipulation/IO
> Application Development
> Using Matlab m-files




SYMEIG.OMS

Script File:
# Description:
# Computes the eigenvectors of a conjugate symmetric matrix.
#
# define a conjugate symmetric matrix
z = {[1, 1 + 1i0], [1 - 1i0, 1]}
# compute its eigenvectors
e = symeig(z)
#
print "The conjugate symmetric matrix"
print z
print "first eigenvector"
print e.col(1)
print "second eigenvector"
print e.col(2)
	  

Output:
The conjugate symmetric matrix 
{
[ (1,0) , (1,1) ]
[ (1,-1) , (1,0) ]
}

first eigenvector 
{
(-0.707107,7.40333e-018)
(-0.5,0.5)
}

second eigenvector 
{
(-0.707107,-9.0866e-017)
(0.5,-0.5)
}

	  


Company |  Products |  Showcase |  Support |  Ordering
Copyright© 1994-2009 Harmonic Software Inc. - All rights reserved.