How can I establish a logical expression from given truth table using MATLAB?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Stephen23
el 2 de Jun. de 2022
Note that there are infinitely many logical expressions which will generate a given truth table. Which one do you want?
Respuestas (1)
KALYAN ACHARJYA
el 6 de Feb. de 2022
Editada: KALYAN ACHARJYA
el 6 de Feb. de 2022
#For Matrix Multiplication
out=A*B+C'*B';
#For Array Multiplication
out=A*.B+C'*.B';
0 comentarios
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!