[TOC]
not
Element-wise logical NOT operation
Usage
not(A)
A
should be a real numeric array.
It does not work if
A
is complex.
An element of the output is assigned logical
1
if the corresponding element of
A
is non-zero, and is assigned logical
0
if otherwise.
It gives the same result as
!A
and
~A
.
⚠️ The
!
operator is not valid in MATLAB.