OriginLab Corporation - Data Analysis and Graphing Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis                           
 

2.2.31 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;

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

 

© OriginLab Corporation. All rights reserved.