# MUNIT

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



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.