# isequaln

Determine array equality, treating NaN values as equal

## Description

`tf = isequaln(`

returns logical
`A,B`

)`1`

(`true`

) if `A`

and
`B`

are equivalent; otherwise, it returns logical
`0`

(`false`

). See the Input Arguments section for a
definition of equivalence for each data type. `NaN`

(Not a Number),
`NaT`

(Not a Time), undefined categorical elements, and
`<missing>`

values are considered to be
*equal* to other such values.

To treat `NaN`

, `NaT`

,
`<undefined>`

, and `<missing>`

values as
unequal to other such values, use `isequal`

.

`tf = isequaln(`

returns logical
`A1,A2,...,An`

)`1`

(`true`

) if all the inputs are
equivalent.

## Examples

## Input Arguments

## Tips

The equality of two function handles depends on how they are constructed. For more information, see Compare Function Handles.

`isequaln`

returns logical`0`

(`false`

) for two objects with dynamic properties, even if the properties have the same names and values.`isequaln`

compares only stored (non-dependent) properties when testing two objects for equality.When comparing two handle objects, use

`==`

to test whether objects have the same handle. Use`isequaln`

to determine if two objects with different handles have equal property values.

## Extended Capabilities

## Version History

**Introduced in R2012a**