Problem 866. Community Problem 500!
In honor of this being the 500th Community problem, see if you can create a function that has a Cody size of 500. It can do anything you want it to do. If it has a size of 500, it passes.
Good luck!
Solution Stats
Problem Comments
-
3 Comments
James
on 27 Jul 2012
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?
Jihye Sofia Seo
on 12 Feb 2017
Funny!
David Verrelli
on 8 Oct 2017
It worked for me with "function y = Cody500(x, y, z)" in Solution 1282868.
Solution Comments
Show commentsProblem Recent Solvers80
Suggested Problems
-
101366 Solvers
-
3284 Solvers
-
Create a matrix X, where each column is a shifted copy of the vector v
202 Solvers
-
Check if number exists in vector
11688 Solvers
-
489 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!