2.2.14 mc2ap
Contents
Brief Information
Convert a complex matrix to amplitude and phase matrices
Command Line Usage
1. mc2ap arc:=radians;
2. mc2ap cm:=mat(1) am:=<new> pm:=<new>;
X-Function Execution Options
Please refer to the page for additional option switches when accessing the x-function from script
Variables
| 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.
|
Description
The mc2ap function converts complex numbers in a matrix to amplitudes and phases.