Convert a complex matrix to amplitude and phase matrices
1. mc2ap arc:=radians;
2. mc2ap cm:=mat(1) am:=<new> pm:=<new>;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Complex Matrix | cm |
Input MatrixObject |
|
Specifies the matrix that has the complex numbers. |
Amplitude Matrix | am |
Output MatrixObject |
|
Specifies the matrix for amplitude output. See the syntax here. |
Phase Matrix | pm |
Output MatrixObject |
|
Specifies the matrix for phase output. See the syntax here. |
Arc Unit | arc |
Input int |
|
Specifies the angle unit.
|
The mc2ap function converts complex numbers in a matrix to amplitudes and phases.