Reduce the logic - MATLAB Cody - MATLAB Central

Problem 43118. Reduce the logic

Difficulty:Rate

We have three logical input, x,y and z. The output is:

 y = ((x&y)|z)&((z|x&y)|(z&y|x))|((x&z)|z)&((y|x&z)|(z&x|y))|(x|y|z)

The solution is already given, but still has a large size (63). can you reduce it?

Solution Stats

88.41% Correct | 11.59% Incorrect
Last Solution submitted on Nov 05, 2024

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
2
3

Problem Recent Solvers46

Suggested Problems

More from this Author25

Problem Tags

Community Treasure Hunt

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

Start Hunting!