1 2 3 4 5
//Example 2.15: Reduce expression using Boolean laws clc // Clears the console disp('xyz + x''y + x''y'' = xyz + x''') disp(' = x'' + yz ') //the reduced expression is displayed.