Convert complex vector to amplitude and phase vectors
1. vc2ap av:=col(2) pv:=col(3);
2. vc2ap cv:=col(3) av:=col(4) pv:=col(5) arc:=1;
Please refer to the page for additional option switches when accessing the x-function from script
Input
vector<complex>
Specifies the vector that has the complex numbers.
Output
vector
Specifies the output vector for the amplitudes.
Specifies the output vector for the phases.
int
Specifies the arc unit. Option list
The vc2ap function converts complex numbers in a vector into their amplitudes and phases.
vap2c, vc2ri, mc2ap