Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

pb with the function "CWMatrix1.GenEigenValueVector"

hello.
First I want to thanks all the peopole who have help me for my problem.
But today there is a new problem.
I can use the function "CWMatrix1.GenEigenValueVector", but it donsen't work correctly (I suppose)
my code is
Dim varD As Variant
Dim varDi As Variant ' i for imaginary value
Dim varVi As Variant
Dim varV As Variant
call Form1.CWMatrix1.GenEigenValueVector(gsigMatrS, 1, varD, varDi, varV, varVi)
gsigMatrS contain at first :
|1 2|
|2 3| this is a symetrique matrix that I use to teste the function.

the eigenvalue for this matrix are 4.828 and -0.828
The function give 4.236 and -0.236
Why is the result not correct?
thank you
Alucard
0 Kudos
Message 1 of 2
(5,722 Views)
Hi Alucard,
How are you calculating your EigenValues ?
I haven't drilled down in to how exactly we do it, but i tried this in labVIEW , CVI and MeasurementStudio and they all return the same values 4.236 and -0.236
Nandan Dharwadker
Staff Software Engineer
Measurement Studio Hardware Team
0 Kudos
Message 2 of 2
(5,712 Views)