blob: 2a95f12849d7c4761e3a44bc9a64efb729a3311d (
plain)
1
2
3
4
5
6
|
//Example 2.26: Conversion of Boolean expression into minterm expression
clc // Clears the console
disp('g = x'' + xyz')
disp(' = x''yz + x''yz'' + x''y''z + x''y''z'' + xyz')
disp('g(x,y,z) = summation of minterms( 3,2,1,0,7) = summation of minterms ( 0,1,2,3,7)')//Since minterm numbers are usually written in numeric order.
//the reduced expression is displayed.
|