Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
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?
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