2.2.13 map2c

Brief Information

Combine amplitude and phase to create a complex matrix

Command Line Usage

1. map2c am:=[Mbook1]MSheet1!mat(1) pm:=[Mbook2]MSheet1!mat(1) cm:=<new> arc:=radians;

2. map2c am:=mat(1) pm:=mat(2) cm:=mat(3);

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
Amplitude Matrix am

Input

MatrixObject

<active>

Specifies the matrix that has the amplitude data.

Phase Matrix pm

Input

MatrixObject

<unassigned>

Specifies the matrix that has the phase data.

Complex Matrix cm

Output

MatrixObject

<new>

Specifies the output matrix which will have the complex 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 degree for angle unit.

Description

The map2c function converts amplitude and phase data saved in matrices to complex numbers and saves them to another matrix.

Related X-Functions

mc2ap, mri2c, mc2ri