Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Imaginary unit

`1j`

returns the basic imaginary unit. `j`

is
equivalent to `sqrt(-1)`

.

You can use `j`

to enter complex numbers.
You also can use the character `i`

as the imaginary
unit. To create a complex number without using `i`

and `j`

,
use the `complex`

function.

Was this topic helpful?