unot
Unary logical NOT (function form of ~).
Syntax
Section titled “Syntax”B = unot(A)Description
Section titled “Description”Returns the elementwise logical complement of A.
Example
Section titled “Example”unot([1 0 1 0]) % [0 1 0 1]