Complex Numbers and Functions of Complex Variables
Complex numbers are easily implemented in MATLAB in standard binary form a+bi or a+bj, where the symbol i or j represents the imaginary unit. It is not necessary to include the product symbol (the asterisk) before the imaginary unit, but if it is included, everything will still work correctly. However, it is important that spaces are not introduced between the imaginary unit and its coefficient.
A complex number can have a symbolic real or imaginary part, and operations on complex numbers can be carried out in any mode of precision that is set with the command format ...