j
Imaginary unit.
📝Syntax
j
3*j
📤Output Arguments
Parameter Description
j scalar complex value equal to sqrt(-1).
📄Description

j returns the imaginary unit sqrt(-1), like i.

j can be redefined as an ordinary variable. Use clear to restore the default behavior.

💡Examples
Build a complex number with the imaginary unit.
z = 2 + 3*j
🔗See Also
icomplex
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub