Cody

Solution 2068403

Submitted on 24 Dec 2019 by Yoshimasa Nakatani
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 2 3 4 5 31 67]; y_correct = [2 3 5 31 67]; assert(isequal(your_fcn_name(x),y_correct))

x = 1 2 3 4 5 31 67 sosu = 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 id = 1×7 logical array 0 1 1 0 1 1 1 y = 2 3 5 31 67