Loading [Contrib]/a11y/accessibility-menu.js

j

The imaginary number i, such that i^2 = -1.

Syntax

R = j returns a complex value.

R = j(n) returns an n by n matrix.

R = j(m, n) returns an m by n matrix.

R = j(d1, d2, ... dN) returns an N dimensional matrix.

R = j([d1, d2, ... dN]) returns an N dimensional matrix.

Inputs

m, n, d1, d2, ..., dN
The dimensions of the desired matrix.
Type: integer
Dimension: scalar | vector

Outputs

R
The returned matrix of j values.

Examples

No input example:

j
ans = 0 + 1i

One input example:

j(3)
ans = [Matrix] 3 x 3
0 + 1i  0 + 1i  0 + 1i
0 + 1i  0 + 1i  0 + 1i
0 + 1i  0 + 1i  0 + 1i

Two input example:

j(2,3)
ans = [Matrix] 2 x 3
0 + 1i  0 + 1i  0 + 1i
0 + 1i  0 + 1i  0 + 1i

Comments

i = sqrt(-1)