How can I establish a logical expression from given truth table using MATLAB?

1 Ansicht (letzte 30 Tage)
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 Kommentar
Stephen23
Stephen23 am 2 Jun. 2022
Note that there are infinitely many logical expressions which will generate a given truth table. Which one do you want?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

KALYAN ACHARJYA
KALYAN ACHARJYA am 6 Feb. 2022
Bearbeitet: KALYAN ACHARJYA am 6 Feb. 2022
#For Matrix Multiplication
out=A*B+C'*B';
#For Array Multiplication
out=A*.B+C'*.B';

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by