Interesting that some cases with a size of 500 are being rejected. It looks like you need to keep the function statement constant as Cody500(x) to get credit for the solution. Changing the function call to Cody500() or Cody500(a,b) seems to make it incorrect, even if your function has the proper size. Any thoughts from people who know way more about this sort of thing than I do?
Funny!
It worked for me with "function y = Cody500(x, y, z)" in Solution 1282868.
Small enough so that it can be viewed in full in the solution list without expanding its window (by clicking on 'more') or scrolling to the right.
Find common elements in matrix rows
1236 Solvers
Given an unsigned integer x, find the largest y by rearranging the bits in x
782 Solvers
466 Solvers
Sum the elements in either diagonal of a square matrix
178 Solvers
07 - Common functions and indexing 6
348 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!