Products & Services Solutions Academia Support User Community Company

Learn more about Bioinformatics Toolbox   

isequalwithequalnans (DataMatrix) - Test DataMatrix objects for equality, treating NaNs as equal

Syntax

TF = isequalwithequalnans(DMObj1, DMObj2)
TF = isequalwithequalnans(DMObj1, DMObj2, DMObj3, ...)

Arguments

DMObj1, DMObj2, DMObj3DataMatrix objects, such as created by DataMatrix (object constructor).

Return Values

TFLogical 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. NaNs are considered equal to each other.

Description

TF = isequalwithequalnans(DMObj1, DMObj2) returns logical 1 (true) if the input DataMatrix objects, DMObj1 and DMObj2, meet the following:

Otherwise, it returns logical 0 (false). DMObj1 and DMObj2 do not have to have the same Name property. NaNs are considered equal to each other.

TF = isequalwithequalnans(DMObj1, DMObj2, DMObj3, ...) returns logical 1 (true) if all input DataMatrix objects, DMObj1, DMObj2, DMObj3, etc. meet the following:

Otherwise, it returns logical 0 (false). The input DataMatrix objects do not have to have the same Name property. NaNs are considered equal to each other.

See Also

Bioinformatics Toolbox function: DataMatrix (object constructor)

Bioinformatics Toolbox object: DataMatrix object

Bioinformatics Toolbox methods of a DataMatrix object: isequal

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS