2.2.33 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);

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