David
Farruggio

MathGenie

not, ~

Find logical NOT

Syntax and Description

~A returns a logical array of the same size as A. The array contains logical 1 (true) values where A is zero and logical 0 (false) values where A is nonzero.
not(A) is an alternate way to execute ~A, but is rarely used.

Back to functions