Problem 326. Tricky timing
Solution Stats
Problem Comments
-
4 Comments
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.
Solution Comments
-
1 Comment
This works fine on my 2012a
Problem Recent Solvers167
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
41103 Solvers
-
367 Solvers
-
Remove white space from the string
178 Solvers
-
186 Solvers
-
Sum the elements in either diagonal of a square matrix
193 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!