Skip to main content
3-Newcomer
November 17, 2024
Solved

How to do this using genvals/genvecs commands in Mathcad Prime 9.0

  • November 17, 2024
  • 1 reply
  • 987 views

In the file attached (and photos below) I am trying to do the routine of finding ϕ using eigenvector and eigenvalue functions to do the same thing I did manually with A1. A2, A3 and the other matrices. Is this possible and if so can someone please help me out in doing so? Thank you!

 

ReedzBeedz_0-1731884804763.png

ReedzBeedz_1-1731884822514.png

 

Best answer by Werner_E

Actually "genvecs" generates the necessary vectors. But on contrary to "eigenvec" there is no "genvec" which would return an eigenvector associated with a certain eigenvalue.

And "genvecs" returns the vectors in the same order as the values in "genvals" and also differently scaled.

Scaling could easily be fixed but I don't know if the order after sorted eigenvals could be automated.

Werner_E_0-1731890940661.png

But of course we could automate what you did manually

Werner_E_1-1731892218717.png

 

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
November 18, 2024

Actually "genvecs" generates the necessary vectors. But on contrary to "eigenvec" there is no "genvec" which would return an eigenvector associated with a certain eigenvalue.

And "genvecs" returns the vectors in the same order as the values in "genvals" and also differently scaled.

Scaling could easily be fixed but I don't know if the order after sorted eigenvals could be automated.

Werner_E_0-1731890940661.png

But of course we could automate what you did manually

Werner_E_1-1731892218717.png

 

 

25-Diamond I
November 18, 2024

Here is an approach using only "genvals" and "genvecs" which seems to do the job as desired:

Werner_E_0-1731906024381.png

 

As a generic utility function its ORIGIN-aware

 

Prime 9 sheet attached

3-Newcomer
November 18, 2024

Thank you very much for your help this is exactly what I needed!