2.2.14 mc2ap

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

<active>

Specifies the matrix that has the complex numbers.

Amplitude Matrix am

Output

MatrixObject

[<input>]<new>

Specifies the matrix for amplitude output. See the syntax here.

Phase Matrix pm

Output

MatrixObject

[<input>]<new>

Specifies the matrix for phase output. See the syntax here.

Arc Unit arc

Input

int

radians

Specifies the angle unit.
Option list

  • radians:Radians
    Uses radians for angle unit.
  • degree:Degree
    Uses degrees for angle unit.

Description

The mc2ap function converts complex numbers in a matrix to amplitudes and phases.

Related X-Functions

map2c, mri2c, mc2ri