There are in MATLAB logical functions such as and, or, xor.

And has its matrix equivalent all, and so has or its any.

Write a function which is array equivalent for exclusive-OR function xor.

Note that your solution will be scored using its Cody size and complexity.

Solution Stats

136 Solutions

56 Solvers

Last Solution submitted on Mar 13, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Group


Problem Recent Solvers56

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!