
Contents |
Convert complex numbers in a vector into their real parts and imaginary parts.
1. vc2ri cv:=col(1);
2. vc2ri cv:=col(1) rv:=col(2) iv:=col(3);
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| Complex | cv |
Input vector<complex> | |
Specifies the input vector that has the complex numbers. |
| Real | rv |
Output vector | |
Specifies the output vector for the real parts of the complex numbers. |
| Imaginary | iv |
Output vector | |
Specifies the output vector for the imaginary parts of the complex numbers. |
This X-Function converts complex numbers in a vector into their imaginary and real parts.