Cellne: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
(No difference)
|
Revision as of 08:19, 2 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.