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
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers48
Suggested Problems
-
Return the largest number that is adjacent to a zero
5516 Solvers
-
375 Solvers
-
Replace multiples of 5 with NaN
468 Solvers
-
549 Solvers
-
562 Solvers
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!