<< eye Constructors functions Inf >>

i


Pure Imaginary number.


Syntax


i
0i
3*i

Description


i, or j returns a pure imaginary number equivalent to sqrt(-1).

Beware, i and j can be redefined and used as ordinary variables, in this case, you must use clear to restore default behavior.

Examples


A = 3i

A = single(3i)

i = 33;
disp(i);
clear('i');
disp(i);

See also


complex.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< eye Constructors functions Inf >>