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 Solvers50
Suggested Problems
-
998 Solvers
-
Replace multiples of 5 with NaN
472 Solvers
-
Back to basics - mean of corner elements of a matrix
469 Solvers
-
291 Solvers
-
Flip the vector from right to left
11437 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!