rect2pol Array Operations: complex numbers rect2pol rect2pol Rectangular to polar format conversion. Description Converts an input array in real-imaginary format to magnitude-phase format. Syntax kout[] rect2pol kin[] Performance kout[] -- output array containing the complex-valued magnitude-phase output. It will be created if it does not exist. kin[] -- input array containing the complex-valued real-imaginary input. Examples Here is an example of the rect2pol opcode. It uses the file rect2pol.csd. Example of the rect2pol opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See Also Vectorial opcodes array opcodes Array-based spectral opcodes Credits Author: &namevictor; NUI Maynooth 2014 New in version 6.04