Write a function that takes between 0.5 seconds and 0.6 seconds to run.
Solution Stats
Problem Comments
4 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers187
Suggested Problems
-
Given two arrays, find the maximum overlap
1817 Solvers
-
How to find the position of an element in a vector without using the find function
2824 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2934 Solvers
-
509 Solvers
-
Matlab Basics - y as a function of x
533 Solvers
More from this Author39
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
If we let timing as the function name we get an error from your test suite. We have to rename it into foo
Agreed. Is the function name part of the 'trick'?
Error: Undefined function 'foo' for input arguments of type 'double'.
Strange looking test, but the problem taught me something new about Matlab.