simplify(~(~(x | y) & ~(y | z)))

조회 수: 1 (최근 30일)
Lisa Lee
Lisa Lee 2017년 8월 10일
편집: Jan 2017년 8월 10일
I don't understand why it is equivalent to x | y | z . Can someone please help to explain this to me?

채택된 답변

Jan
Jan 2017년 8월 10일
편집: Jan 2017년 8월 10일
Remember these equivalences ( De Morgan's laws ):
~(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개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by