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.30 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;

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

 

© OriginLab Corporation. All rights reserved.