matlab negation
~A not(A) % Both basically do the same thing, check source for minor difference use cases
Source: www.mathworks.com
~A not(A) % Both basically do the same thing, check source for minor difference use cases