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
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

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!