i - Imaginary unit
Syntax
i
a+bi
x+i*y
Description
As the basic imaginary unit sqrt(-1), i is
used to enter complex numbers. Since i is a function,
it can be overridden and used as a variable. This permits you to use i as
an index in for loops, etc.
If desired, use the character i without a multiplication
sign as a suffix in forming a complex numerical constant.
You can also use the character j as the imaginary
unit.
Examples
Z = 2+3i
Z = x+i*y
Z = r*exp(i*theta)
See Also
conj, imag, j, real
 | hypot | | idealfilter (timeseries) |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit