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 :)
Clean the List of Names
616 Solvers
Derivative of polynomial
166 Solvers
Number of digits in an integer
271 Solvers
Vector of numbers divisible by 3
97 Solvers
Mysterious digits operation (easy)
73 Solvers
N-th Odious
111 Solvers
Evil Number
168 Solvers
Modify subscripts - easier
5 Solvers
Polygonal numbers
86 Solvers
Pancake sorting - minimum flips.
15 Solvers
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