Hello, Cody player. Your code here _can_ pass the Test Suite. You may have been a little unlucky with the Cody server when you submitted, but this same code passed as Solution 1403953. (Alternatively, it might be possible to tweak your code.) So I invite you to try again. —DIV.
This hack has been disallowed in the updated Test Suite.
Renaming a field in a structure array
Project Euler: Problem 8, Find largest product in a large string of numbers
Implement a counter
Is X a Fibonacci Matrix?
Probability of red tulips (at both ends of a row)
Back to basics: throwing errors / exceptions
Rate of event occurence: find percentiles of the distribution (for smallish rates)
Make your own Test Suite (part 0)
Curve fitting (non-linear functions) & function handles
Code breaker, Part I: Operation Phoenix
Find the treasures in MATLAB Central and discover how the community can help you!
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