2.2.35 vc2ri

Brief Information

Convert complex vector to real and imaginary parts

Command Line Usage

1. vc2ri cv:=col(1);

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

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