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

72 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 6 Avr 2020
nand_result=~(A & B)

Plus de réponses (0)

Catégories

En savoir plus sur Variables dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by