Cody

Solution 110884

Submitted on 11 Jul 2012
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
%% g = 0.9; f = 10; tr = 1; tm = 2; n = 10; out = 0; assert(isequal(chaosOrOrder(g,f,tr,tm,n),out))
Error: Output argument "choice" (and maybe others) not assigned during call to "/users/msssystem7/chaosOrOrder.m>chaosOrOrder".
2   Fail
%% g = 0.9; f = 10; tr = 1; tm = 2; n = 100; out = 1; assert(isequal(chaosOrOrder(g,f,tr,tm,n),out))
Error: Output argument "choice" (and maybe others) not assigned during call to "/users/msssystem7/chaosOrOrder.m>chaosOrOrder".
3   Fail
%% g = 0.9; f = 10; tr = .1; tm = 2; n = 10000; out = 0; assert(isequal(chaosOrOrder(g,f,tr,tm,n),out))
Error: Output argument "choice" (and maybe others) not assigned during call to "/users/msssystem7/chaosOrOrder.m>chaosOrOrder".