MUNIT Function
The MUNIT function is one of the math and trigonometry functions. It is used to return the unit matrix for the specified dimension.
The MUNIT function syntax is:
MUNIT(dimension)
where
dimension is a required argument. It is an integer specifying the dimension of the unit matrix that you want to return, and returns an array. The dimension has to be greater than zero.
To apply the MUNIT function,
- select the cell where you wish to display the result,
-
click the Insert function icon situated at the top toolbar,
or right-click within a selected cell and select the Insert Function option from the menu,
or click the icon situated at the formula bar, - select the Math and trigonometry function group from the list,
- click the MUNIT function,
- enter the required argument,
- press the Enter button.
The result will be displayed in the selected cell.
To return a range of values, select a required range of cells, enter the formula, and press the Ctrl+Shift+Enter key combination.