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

조회 수: 8 (최근 30일)
Monir Hossain
Monir Hossain 2022년 2월 6일
댓글: Stephen23 2022년 6월 2일
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
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
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';

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by