2.2.34 vc2ap

Brief Information

Convert complex vector to amplitude and phase vectors

Command Line Usage

1. vc2ap av:=col(2) pv:=col(3);

2. vc2ap cv:=col(3) av:=col(4) pv:=col(5) arc:=1;

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 cv

Input

vector<complex>

<active>

Specifies the vector that has the complex numbers.

Amplitude av

Output

vector

<new>

Specifies the output vector for the amplitudes.

Phase pv

Output

vector

<new>

Specifies the output vector for the phases.

Arc unit arc

Input

int

radians

Specifies the arc unit.
Option list

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

Description

The vc2ap function converts complex numbers in a vector into their amplitudes and phases.

Related X-Functions

vap2c, vc2ri, mc2ap