How can I obtain eigenvectors (or eigenfunctions) by inserting vector (fourier coefficients) into expansions?
Afficher commentaires plus anciens
I am trying to calculate eigenfunctions in an eigenvalue problem. I have vectors A and B, these are the coefficients of the fourier expansions. In the related book, it says that in order to find the eigenfunctions, I need to find v and w by substituting the Fourier coefficients into Fourier expansions. But as I am new to matlab my attempts were unsuccessful. I have attached the necessary screenshots from book.
A is (513x1)
B is (513x1)
x is (1x1024)
I think it does not work but I tried as follows:
N=256
for n=-N:1:N
v=sum(A.*(exp(1i*k0*n*x)));
w=sum(B.*(exp(1i*k0*n*x)));
end
How can I find (v,w) as in the attached explanations?
If you can help I would be very grateful. Thank you.

Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Eigenvalues & Eigenvectors dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


