cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

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

ReedzBeedz
3-Newcomer

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

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

 

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:ReedzBeedz)

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

 

 

View solution in original post

3 REPLIES 3
Werner_E
25-Diamond I
(To:ReedzBeedz)

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

 

 

Werner_E
25-Diamond I
(To:Werner_E)

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

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

Announcements

Top Tags