Is there a logical NAND operation in MATLAB like the logical AND operation '&'?

76 views (last 30 days)
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.

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 6 Apr 2020
nand_result=~(A & B)

More Answers (0)

Categories

Find more on Variables in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!