Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB 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

33 correct solutions 10 incorrect solutions
Last solution submitted on Mar 21, 2016

Solution Comments