simplify(~(~(x | y) & ~(y | z)))
4 views (last 30 days)
Show older comments
I don't understand why it is equivalent to x | y | z . Can someone please help to explain this to me?
0 Comments
Accepted Answer
Jan
on 10 Aug 2017
Edited: Jan
on 10 Aug 2017
~(x | y) <==> ~x & ~y
~(x & y) <==> ~x | ~y
Then
~(~(x | y) & ~(y | z)) ==>
~((~x & ~y) & (~y & ~z)) ==>
~(~x & ~y) | ~(~y & ~z) ==>
~~x | ~~y | ~~y | ~~z ==>
x | y | y | z ==>
x | y | z
Applying the operations from the outside to the inside is faster:
~(~(x | y) & ~(y | z)) ==>
~~(x | y) | ~~(x | z) ==>
x | y | y | z
0 Comments
More Answers (0)
See Also
Categories
Find more on Digital Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!