isequaln
Determine equality of fixed-point arrays, treating NaN values as equal
Since R2021a
Description
returns logical tf
= isequaln(A,B
)1
(true
) if A
and
B
are equivalent; otherwise, it returns logical 0
(false
). Arrays are considered equivalent if they are the same size and
are numerically equal. NaN
(Not a Number) values are considered to be
equal to other such values.
Numeric data types and structure field order need not match to be considered equivalent.
isequaln
recursively compares the contents of cell arrays and
structures. If all elements of a cell array or structure are numerically equal,
isequaln
returns logical 1
(true
).
returns logical tf
= isequaln(A1,A2,…,An
)1
(true
) if all the inputs are
equivalent.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2021a