Cody

Solution 1979266

Submitted on 16 Oct 2019 at 17:11 by Nikolaos Nikolaou
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
x = [1 8 9 2]; y_correct = [3 10 11 4]; assert(isequal(your_fcn_name(x),y_correct))

y = 3 10 11 4

2   Pass
x = [1 11 19 21]; y_correct = [3 13 21 23]; assert(isequal(your_fcn_name(x),y_correct))%% x = [30 63 12 2]; y_correct = [32 65 14 4]; assert(isequal(your_fcn_name(x),y_correct))

y = 3 13 21 23 y = 32 65 14 4

Suggested Problems

More from this Author24