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 = 3iA = single(3i)i = 33;
disp(i);
clear('i');
disp(i);🔗 See also
🕔 History
Version
📄 Description
1.0.0
initial version
Last updated
Was this helpful?