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
-
16219 Solvers
-
Duplicate each element of a vector.
638 Solvers
-
248 Solvers
-
Sum the 'edge' values of a matrix
405 Solvers
-
Replace odd number in given matrix by zero
151 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!