Spread Formula Reference
MUNIT
Formula Functions > Functions M to Q > MUNIT

This function returns the unit matrix for the specified dimension.

Syntax

MUNIT(dimension)

Arguments

For the argument, you need to provide an integer that specifies the dimension of the unit matrix to return. The argument is required.

Remarks

The argument must be greater than 0. The #VALUE! error value is returned if dimension is equal to or less than 0.

Data Types

Accepts numeric data. Returns a resultant matrix.

Examples

MUNIT(2) will return a unit matrix 2x2.

Version Available

This function is available in Spread for Windows Forms 11.0 or later.