2.2.33 vap2c

Brief Information

Combine amplitude vector and phase vector to form a complex vector.

Command Line Usage

1. vap2c av:=col(1) pv:=col(2);

2. vap2c av:=col(1) pv:=col(2) cv:=col(3) arc:=degree;

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 av

Input

vector

<active>

Specifies the input vector that has the amplitudes.

Phase pv

Input

vector

<unassigned>

Specifies the input vector that has the phases.

Complex cv

Output

vector<complex>

<new>

Specifies the output vector for the complex numbers.

Arc unit arc

Input

int

radians

Specifies the arc unit
Option list

  • radians:Radians
    Uses radians for the arc unit.
  • degree:Degree
    Uses degree for the arc unit.

Description

The vap2c function generates a complex vector from the amplitudes and phases.

Related X-Functions

vc2ap, vri2c, map2c