MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test
Opportunities for recent engineering grads.
New to MATLAB?
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.