COMPLEX (PQL - xl)

This function converts real and imaginary coefficients into a complex number

  • Library: PQL \ Spreadsheet \ Engineering
  • Compatibility: Any content (regardless of data source) in the Tabulate spreadsheet module
  • Solve: This function can be used with the Solve plug-in: both as part of the objective function and constraint functions

Syntax

COMPLEX(real num, i num, OPTIONAL suffix)

Function Arguments

Name

Description

Type

Optional

real num

Coefficient of the real part of the complex number

Number

i num

Coefficient of the imaginary part of the complex number

Number

suffix

Suffix of the imaginary part of the complex number, may be either "i" or "j". If omitted, "i" is used

String

Y

Comments

This function is the same as the Microsoft Excel 'COMPLEX' function - using the same inputs, logic and outputs.