Cody
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 431727
That is a fun test suite. :P
Solution 430991
In the end it's better to take most of the penalty but have faster code!
... or maybe not :)
Interpolator
1313 Solvers
Too mean-spirited
1594 Solvers
Rotate and display numbered tile
221 Solvers
Create One Large Eye of size N x N Quickly?
70 Solvers
Is this triangle right-angled?
1921 Solvers
Optimum Egyptian Fractions
4 Solvers
Polygonal numbers
86 Solvers
Don't Try, give up and return NaN.
25 Solvers
realsmall
23 Solvers
Digital Neighbourhood
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office