Eigenvalue and eigenvector solver

Eigenvalue and eigenvector solver - Mensajes

#1 Publicado: 26/3/2021 14:49:32
coeur_de_lion

coeur_de_lion

0 me gusta en 18 mensajes.

Grupo: User

Dear to all,
I found some topics in the forum, but I'm a little bit confused.
Someone could help me?
Thank
D
#2 Publicado: 26/3/2021 15:17:47
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Hi. You can try maple or Maxima plugin. Or dot numerics plugin and your own code and check when each one it's better, like in the attached.

MEigen.sm (78,18 KiB) descargado 1325 vez(es).
MEigen.pdf (154,17 KiB) descargado 926 vez(es).

Best regards.
A 2 usuarios les gustó este mensaje
sergio 26/3/2021 17:20:00, coeur_de_lion 29/3/2021 16:35:00
#3 Publicado: 27/3/2021 9:30:03
coeur_de_lion

coeur_de_lion

0 me gusta en 18 mensajes.

Grupo: User

Dear Razonar and Giraud,
thank you very much!!!
D
#4 Publicado: 28/3/2021 11:40:53
coeur_de_lion

coeur_de_lion

0 me gusta en 18 mensajes.

Grupo: User

Dear all,
I tried both version proposed, but with my matrix they don't work.
Where is the mistake?

Natural frequencies.sm (219,44 KiB) descargado 1276 vez(es).

On the other hand I tried to use MAPLE, but I don't understand how to use it....

Thanks
D
#5 Publicado: 28/3/2021 12:57:44
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Wrote

Dear all,
I tried both version proposed, but with my matrix they don't work.
Where is the mistake?



Hi. You found with dot numerics eigenvalues and vectors, or at least something probably useful answer. About the code in MEigen, don't expect too much, with that few code lines.

From the book Numerical Recipes in C:

Clipboard07.jpg

and

Clipboard01.jpg

About the use of maple it returns eigenvalues into an structure, which could be complicated to get in SMath: Maple help

Finally, even the eigenvectors are very powerful theoretically given that you can get the Jordan Canonical Form with them and thus study any lineal system with it, from the numerical point of view it's better study the same system using singular value decomposition, which it's more stable and have procedures for know the error and stability of the answers.

Best regards.
Alvaro.
A 1 usuarios les gustó este mensaje
coeur_de_lion 29/3/2021 16:36:00
#6 Publicado: 29/3/2021 16:50:12
coeur_de_lion

coeur_de_lion

0 me gusta en 18 mensajes.

Grupo: User

Dear Jean,
I apologize, but I'm not so expert and I don't understand too much.

1) I tried with the suggestion from Razonar: eigenvalue is ok, eigenvector seem yes, but the part below aren't solved and I the message is "Result is above max allowed positive number"

1.png

2) Also, with your file: eigenvalue is ok, eigenvector seem yes, but the calculation is "locked" and don't proceed over the point below:

2.png

and if wait the time running...

Thanks
Davide

#7 Publicado: 29/3/2021 22:53:02
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Wrote


1) I tried with the suggestion from Razonar: eigenvalue is ok, eigenvector seem yes, but the part below aren't solved and I the message is "Result is above max allowed positive number"



Hi. This version try to avoid the numerical issue. Notice that the eigenvalues (obtained with the SMath polyroots function, which can't be the better method) are different from those from dot numerics.

Although surprisingly I get a decomposition that does not differ from the expected one, that is norme (A * MM * diag (λ)) = 0, I would not rely too much on the twelve lines of code of my function to calculate something as unstable as eigenvalues and eigenvectors and I would put more hope in the dot numerics results.

Natural frequencies.sm (243,35 KiB) descargado 1321 vez(es).
Natural frequencies.pdf (876,49 KiB) descargado 1030 vez(es).

Best regards.
Alvaro.
A 1 usuarios les gustó este mensaje
coeur_de_lion 17/4/2021 18:30:00
#8 Publicado: 17/4/2021 18:31:17
coeur_de_lion

coeur_de_lion

0 me gusta en 18 mensajes.

Grupo: User

Dear Jean and Razonar,
as first I apologize for my late answer.
Thank for the support
Bye
Davide
  • Nuevos mensajes
  • Sin mensajes nuevos