Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 2281. Array ex-OR

Created by Jan Orwat

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.

Problem Group

Solution Statistics

24 correct solutions 9 incorrect solutions
Last solution submitted on Aug 04, 2014

Solution Comments