blob: 1fca0b3ea2bf2c37de69533945810e3ca149e431 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//EX2_7 To find complement of (A' + B)C'
//clears the screen
clc
//clears already existing variables
clear
//Using 2.12 i.e. (XY)' = X' + Y'
disp('((A'' + B)C'')'' = (A'' + B)'' + (C'')''')
//Now using 2.13 i.e. (X + Y)' = X'.Y'
disp('(A'' + B)C'' = AB'' + C')
|