complex arithemtic
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
Because the current version of the STx EVAL command do not support a complex data type, a package of functions is used to implement arithmetic and special handling for [[Programmer_Guide/Command_Reference/EVAL#complex numbers|complex numbers].
- Usage
cr2p(xc)
- xc
- a [[Programmer_Guide/Command_Reference/EVAL#complex numbers|complex number, vector or matrix] in cartesian format (re, im)
r with same length as x containing the converted window function
cr2p
Convert Cartesian coordinates to Polar coordinates
Usage:
cr2p(xC)
Return Type:
like xC
complex numbers