How can I establish a logical expression from given truth table using MATLAB?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Stephen23
2022 年 6 月 2 日
Note that there are infinitely many logical expressions which will generate a given truth table. Which one do you want?
回答 (1 件)
KALYAN ACHARJYA
2022 年 2 月 6 日
編集済み: KALYAN ACHARJYA
2022 年 2 月 6 日
#For Matrix Multiplication
out=A*B+C'*B';
#For Array Multiplication
out=A*.B+C'*.B';
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!