function complex

Returns a complex number generated of the two given values.

Syntax
result = complex(r, i)

Arguments
r:   The real part (either a real number or a matrix)
i:   the imaginary part (either a real number or a matrix)


See also
function real
function imag
function conj
function arg
function abs