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

75 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Variables in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by