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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Matrice to lenght and angle

tlauridsen
1-Newbie

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

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

Top Tags