Cody

Solution 880348

Submitted on 22 Apr 2016 by Jan Orwat
  • Size: 5
  • This is the leading solution.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
foo()

2   Pass
assert(isequal(cos(sin(1)), 1>@sin>@cos))

3   Pass
x = rand(10,'single'); assert(isequal(sum(sum(x>.2)), x>.2>@sum>@sum))

4   Pass
a = rand(100); [x,y] = find(tan(a)>.1); [x1,y1] = a> @tan > .1 > @find; assert(isequal({x,y},{x1,y1}))

5   Pass
a = rand(1,100); a> @(x)x.^2+1 > @cos > @sin > @sum > @(x)isequal(x,sum(sin(cos(a.^2+1)))) > @assert

Suggested Problems

More from this Author8