Eigenvalue and eigenvector solver

Eigenvalue and eigenvector solver - Сообщения

#1 Опубликовано: 26.03.2021 14:49:32
coeur_de_lion

coeur_de_lion

0 сообщений из 18 понравились пользователям.

Группа: 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 Опубликовано: 26.03.2021 15:17:47
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: 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 КиБ) скачан 92 раз(а).
MEigen.pdf (154 КиБ) скачан 72 раз(а).

Best regards.
2 пользователям понравился этот пост
sergio 26.03.2021 17:20:00, coeur_de_lion 29.03.2021 16:35:00
#3 Опубликовано: 27.03.2021 09:30:03
coeur_de_lion

coeur_de_lion

0 сообщений из 18 понравились пользователям.

Группа: User

Dear Razonar and Giraud,
thank you very much!!!
D
#4 Опубликовано: 28.03.2021 11:40:53
coeur_de_lion

coeur_de_lion

0 сообщений из 18 понравились пользователям.

Группа: User

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

Natural frequencies.sm (219 КиБ) скачан 53 раз(а).

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

Thanks
D
#5 Опубликовано: 28.03.2021 12:57:44
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: 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.
1 пользователям понравился этот пост
coeur_de_lion 29.03.2021 16:36:00
#6 Опубликовано: 29.03.2021 16:50:12
coeur_de_lion

coeur_de_lion

0 сообщений из 18 понравились пользователям.

Группа: 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 Опубликовано: 29.03.2021 22:53:02
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: 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 КиБ) скачан 80 раз(а).
Natural frequencies.pdf (876 КиБ) скачан 85 раз(а).

Best regards.
Alvaro.
1 пользователям понравился этот пост
coeur_de_lion 17.04.2021 18:30:00
#8 Опубликовано: 17.04.2021 18:31:17
coeur_de_lion

coeur_de_lion

0 сообщений из 18 понравились пользователям.

Группа: User

Dear Jean and Razonar,
as first I apologize for my late answer.
Thank for the support
Bye
Davide
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений