Problem 326. Tricky timing
22.78% Correct | 77.22% Incorrect
Last Solution submitted on Feb 24, 2023
Show 1 older comment
Aurelien Queffurust on 24 Feb 2012
If we let timing as the function name we get an error from your test suite. We have to rename it into foo
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.
Problem Recent Solvers173
Number of 1s in the Binary Representation of a Number
Find the "ordinary" or Euclidean distance between A and Z
Getting the indices from a vector
Create an index-powered vector
More from this Author39
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!