isequaln
Test DataMatrix objects for equality, treating NaNs as equal
Syntax
TF
= isequaln(DMObj1
, DMObj2
)
TF
= isequaln(DMObj1
, DMObj2
, DMObj3
,
...)
Input Arguments
DMObj1 , DMObj2 , DMObj3 | DataMatrix objects, such as created by DataMatrix (object
constructor). |
Output Arguments
TF | Logical value indicating if inputs are numerically equal (have
the same contents), have the same size (same NRows and NCols properties),
and have the same RowNames and ColNames properties. NaN s
are considered equal to each other. |
Description
returns
logical TF
= isequaln(DMObj1
, DMObj2
)1
(true
) if the input
DataMatrix objects, DMObj1
and DMObj2
,
meet the following:
Are numerically equal (have the same contents)
Have the same size (same
NRows
andNCols
properties)Have the same
RowNames
andColNames
properties
Otherwise, it returns logical 0
(false
). DMObj1
and DMObj2
do
not need to have the same Name
property. NaN
s
are considered equal to each other.
returns logical TF
= isequaln(DMObj1
, DMObj2
, DMObj3
,
...)1
(true
)
if all input DataMatrix objects, DMObj1
, DMObj2
, DMObj3
,
etc. meet the following:
Are numerically equal (have the same contents)
Have the same size (same
NRows
andNCols
properties)Have the same
RowNames
andColNames
properties
Otherwise, it returns logical 0
(false
).
The input DataMatrix objects do not need to have the same Name
property. NaN
s
are considered equal to each other.
Version History
Introduced in R2012b