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

vc2ri

Contents

Brief Information

Convert complex numbers in a vector into their real parts and imaginary parts.

Command Line Usage

1. vc2ri cv:=col(1);

2. vc2ri cv:=col(1) rv:=col(2) iv:=col(3);

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Complex cv

Input

vector<complex>

<active>

Specifies the input vector that has the complex numbers.

Real rv

Output

vector

<new>

Specifies the output vector for the real parts of the complex numbers.

Imaginary iv

Output

vector

<new>

Specifies the output vector for the imaginary parts of the complex numbers.

Description

This X-Function converts complex numbers in a vector into their imaginary and real parts.

Related X-Functions

vri2c, vc2ap, mc2ri