Products, services, and OS functions
may not be available in this country.

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.
Helpful?
Character limit: 250
Maximum character limit is 250.
Thanks for your feedback.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.