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
-
find the maximum element of the matrix
538 Solvers
-
565 Solvers
-
07 - Common functions and indexing 6
468 Solvers
-
16520 Solvers
-
Flip the vector from right to left
10850 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!