FUNCTION REFERENCE

ne

Inequality test, the function form of a ~= b.

Inequality test, the function form of a ~= b.

Syntax

TF = ne(A, B)

Returns a logical array, as the ~= operator does. For handle objects of classdef classes it is true unless both are copies of one object.

Example

ne([1 2 3], 2)   % [1 0 1]

Differences from MATLAB: same limits as the ~= operator.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.