How can I establish a logical expression from given truth table using MATLAB?
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a given truth table with input and correspomding output. Then what is the process to establish a logical expression (eg: AB+C'B') from the given truth tabe with MATLAB code.
1 commentaire
Stephen23
le 2 Juin 2022
Note that there are infinitely many logical expressions which will generate a given truth table. Which one do you want?
Réponses (1)
KALYAN ACHARJYA
le 6 Fév 2022
Modifié(e) : KALYAN ACHARJYA
le 6 Fév 2022
#For Matrix Multiplication
out=A*B+C'*B';
#For Array Multiplication
out=A*.B+C'*.B';
0 commentaires
Voir également
Catégories
En savoir plus sur Logical 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!