blob: 6980820ee0348992f698026899e6bc4b5e8ed59c (
plain)
1
2
3
4
5
6
7
8
|
//Example 2.30: Convert expression into POS Form
clc // Clears the console
disp('wxy'' + xyz + w''x''z''')
disp('= x(wy'' + yz) + w''x''z''')
disp('= x(y'' + z)(y + w) + w''x''z''')
disp('= (x + w''z'')[x'' + (y'' + z )(y + w)]')
disp('= (x + w'')(x + z'')(x'' + y'' + z )(x'' + y + w)]')
//the reduced expression is displayed.
|