Cellne

From Eigenvector Documentation Wiki

Jump to: navigation, search

Contents

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

Views
Personal tools