Problem 1776. Singularity v5 (with apologies to the true hack masters)

Solution 734171

Submitted on 12 Sep 2015 by LY Cao
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   Fail
%% x=1/; % oops y=2/; % double oops assert(isequal(not_my_function(x),y)); %% x=1/; % oops y=2/; % double oops assert(isequal(my_function(x),y)); %% forbidden = '(freepass)'; assert(isempty(regexp(evalc('type my_function'),forbidden)));

Error: Expression or statement is incomplete or incorrect.

Suggested Problems

More from this Author80

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!