Cellne: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
(Importing text file)
imported>Neal
 
Line 1: Line 1:
===Purpose===
===Purpose===


Line 10: Line 9:
===Description===
===Description===


CELLNE compares the two cell inputs, c1 and c2, for inequality. If the cell arrays are the same size, the corresponding cell elements are compared and a similarly sized array of logical (boolean) values, out, is returned. The array out contains a one if the two cell elements were not equal (different variable type or contents) and a zero if the two cell elements were equal.
CELLNE compares the two cell inputs, (c1) and (c2), for inequality. If the cell arrays are the same size, the corresponding cell elements are compared and a similarly sized array of logical (boolean) values, (out), is returned. The array (out) contains a one if the two cell elements were not equal (different variable type or contents) and a zero if the two cell elements were equal.


If the cell sizes do not match, the function returns a single logical value of 1.
If the cell sizes do not match, the function returns a single logical value of 1.

Latest revision as of 16:29, 25 September 2008

Purpose

Element by element comparison of two cells for inequality.

Synopsis

out = cellne(c1,c2)

Description

CELLNE compares the two cell inputs, (c1) and (c2), for inequality. If the cell arrays are the same size, the corresponding cell elements are compared and a similarly sized array of logical (boolean) values, (out), is returned. The array (out) contains a one if the two cell elements were not equal (different variable type or contents) and a zero if the two cell elements were equal.

If the cell sizes do not match, the function returns a single logical value of 1.

See Also

comparevars