MUNIT

The MUNIT function returns a unit matrix of a specified dimension. A unit matrix is a square matrix with 1s on the main diagonal and 0s in all other positions.

MUNIT(matrix-size)

matrix-size: The dimension of the matrix. Must be greater than 0.

Examples

=MUNIT(2) returns the unit matrix below:

A

B

1

1

0

2

0

1

=MUNIT(3) returns the unit matrix below:

A

B

C

1

1

0

0

2

0

1

0

3

0

0

1

Morty Proxy This is a proxified and sanitized view of the page, visit original site.
ਕੋਈ ਮਦਦ ਮਿਲੀ?
ਅੱਖਰ ਸੀਮਾ: 250
ਵੱਧ ਤੋਂ ਵੱਧ ਅੱਖਰ ਸੀਮਾ 250 ਹੈ
ਫ਼ੀਡਬੈਕ ਲਈ ਤੁਹਾਡਾ ਧੰਨਵਾਦ।
Morty Proxy This is a proxified and sanitized view of the page, visit original site.