In this last experiment we will perform more specific tests, for comparing the accuracy of the proposed method with the methods, available in MATLAB.
The matrices
considered in the following examples are tridiagonal
matrices having eigenvalues
. They are
constructed by reducing the matrix:
We plotted for all eigenpairs the following error. Remark that we normalized the eigenvectors:
In the left of Figure 4 you can see the comparison of the
different accuracies of the different methods. The right figure
denotes the logarithm of the absolute values of the eigenvalues, to
see which eigenvalues are the smallest ones in the left figure. It is
shown that our method performs better for smaller eigenvalues than the
Cholesky factorization approach of MATLAB. It performs slightly worse
than the
-approach, for small eigenvalues. One can also see that
the new approach yields a behavior rather similar to the one of the
Cholesky approach.
In the following four figures, we repeated the same experiment. A similar behavior as discussed in the previous figure is observed.
In Figure 6, we did not compare the individual error for each
eigenpair, but we ran
experiments (like the ones above) and plotted for each experiment
individually the following error measure:
Even though we sort of reshuffled the eigenvalues of the original
matrix by performing the similarity transformation with the matrix
, and reducing the matrix to tridiagonal form, the matrix is still
graded in some sense. The top left elements on the diagonal are much
smaller than the elements in the bottom right position.
We will now flip our matrix
upside down and from left to right, such that it becomes graded but in
the wrong dimension.
In Figure 7 on the left, we plotted for one specific example
the error of each eigenpair. We see that the Cholesky approach and the
new method perform equally well. In the right figure, we plot again
the global error of
experiments. We see that the
-method is the
worst now, whereas the Cholesky approach is slightly better than the
new method.
Raphael Vandebril 2007-07-17