Orthonormalization using Matlab

  • Context: MATLAB 
  • Thread starter Thread starter madeinmsia
  • Start date Start date
  • Tags Tags
    Matlab
Click For Summary
SUMMARY

The discussion focuses on using MATLAB's [V,D]=eig(A,B) function to compute eigenvectors and eigenvalues from two matrices, A and B. The user seeks to orthonormalize the resulting eigenvectors, particularly in the context of solving a Sturm-Liouville problem. It is established that while MATLAB does not provide an inbuilt orthonormalization function, users can utilize external resources such as the Gram-Schmidt orthonormalization function available on MATLAB File Exchange to achieve this.

PREREQUISITES
  • Understanding of eigenvalues and eigenvectors in linear algebra
  • Familiarity with MATLAB programming and its matrix operations
  • Knowledge of Sturm-Liouville problems and their general solutions
  • Basic concepts of orthonormalization techniques
NEXT STEPS
  • Explore the Gram-Schmidt orthonormalization method in MATLAB
  • Learn about the numerical methods for solving Sturm-Liouville problems
  • Investigate additional MATLAB functions for eigenvalue problems
  • Review resources on eigenvector normalization techniques
USEFUL FOR

Mathematics students, researchers in numerical analysis, and engineers working with eigenvalue problems in MATLAB.

madeinmsia
Messages
15
Reaction score
0
I'm using matlab's [V,D]=eig(A,B) function to find the eigenvectors and eigenvalues given two full matrices of A and B.

I know the eigenvectors that I get are not orthonormalized, so how do I do this?

Let's say I'm solving a simple Sturm-Liouville problem like [tex]\phi''(x)}+\lambda\sigma(x)\phi(x) = 0[/tex] where [tex]\sigma(x) = 1 - x^{2}[/tex].

The general solution that I have by formulae is

[tex]\phi_{n}(x)\cong\frac{1}{\sigma^{1/4}}sin[\lambda_{n}^{1/2}\int\sigma(s)^{1/2}ds], \lambda_{n}\cong\frac{(n\pi)^{2}}{(\int\sigma(s)^{1/2}ds)^{2})}[/tex]

When I compare the graph of the eigenfunction from my formula to the numerical eigenfunction I got, they are quite similar except it looks like it is missing some weighting function.
 
Physics news on Phys.org

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K