MATLAB: Is there a logical NAND operation in MATLAB like the logical AND operation ‘&’

logical operations

I need to perform NAND operation in a complex equation. I am trying to find something as simple as the '&' operation that is used to perform logical AND.

Best Answer

nand_result=~(A & B)