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 Solvers184
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52807 Solvers
-
Return the largest number that is adjacent to a zero
5516 Solvers
-
Remove the polynomials that have positive real elements of their roots.
1740 Solvers
-
Find the "ordinary" or Euclidean distance between A and Z
177 Solvers
-
Number of 1s in a binary string
10991 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.