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

Matrice to lenght and angle

tlauridsen
1-Visitor

Matrice to lenght and angle

In the picture that I have added to this post there is an assignment where I have added four vectors.  In method one i have the lenght and a angle, but can I convert it to a coordinate?

In method two I have the opposite problem my result Fres is a coordinate but can i convert it to a lenght and an angle?

1 REPLY 1
Werner_E
25-Diamond I
(To:tlauridsen)

The functions you are looking for are Re(z) and Im(z) for your first part and |z| and arg(z) for the second.

Basically you are dealing with complex numbers here but you want to see and input them as vectors and not as a+j*b. So you would have to create some small conversion functions.

I would suggest to store all forces as complex numbers and use Vec2C (or whatever you want to name that routine) for the input in coordinate vector form and C2Vec for the display in vector form.

Werner

Announcements

Top Tags