
Contents |
Combine amplitude vector and phase vector to form a complex vector.
1. vap2c av:=col(1) pv:=col(2);
2. vap2c av:=col(1) pv:=col(2) cv:=col(3) arc:=degree;
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| Amplitude | av |
Input vector | |
Specifies the input vector that has the amplitudes. |
| Phase | pv |
Input vector | |
Specifies the input vector that has the phases. |
| Complex | cv |
Output vector<complex> | |
Specifies the output vector for the complex numbers. |
| Arc unit | arc |
Input int | |
Specifies the arc unit
|
The vap2c function generates a complex vector from the amplitudes and phases.