Problem 326. Tricky timing
Write a function that takes between 0.5 seconds and 0.6 seconds to run.
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Vincent
on 29 May 2012
Agreed. Is the function name part of the 'trick'?
Dan
on 30 May 2013
Error: Undefined function 'foo' for input arguments of type 'double'.
Andrew Newell
on 24 Apr 2014
Strange looking test, but the problem taught me something new about Matlab.
Solution Comments
Show commentsProblem Recent Solvers179
Suggested Problems
-
Find the sum of the elements in the "second" diagonal
1159 Solvers
-
233 Solvers
-
Calculate the area of a triangle between three points
3144 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
832 Solvers
-
15572 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!