Cody

Solution 172708

Submitted on 5 Dec 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
%% y = your_fcn_name(100,100); assert( y(1) == -100 && y(end) == 100 && mean(diff(y))== 2 && std(diff(y)) == 0 );
Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssystem18/your_fcn_name.m>your_fcn_name".
2   Fail
%% y = your_fcn_name(200,100); assert( y(1) == -100 && y(end) == 100 && mean(diff(y))== 1 && std(diff(y)) == 0 );
Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssystem18/your_fcn_name.m>your_fcn_name".
3   Fail
%% y = your_fcn_name(2,100); assert( y(1) == -100 && y(end) == 100 && mean(diff(y))== 100 && std(diff(y)) == 0 );
Error: Output argument "y" (and maybe others) not assigned during call to "/users/msssystem18/your_fcn_name.m>your_fcn_name".