Cody

Solution 2203408

Submitted on 10 Apr 2020 by Francisco Aarón Tovar Sáez
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
y = [-1 6 15 -7 31 2 -4 -5]; y_correct = [-7 -5 -4 -1 31 15 6 2]; assert(isequal(order(y),y_correct))

2   Pass
y=[6 7 -34 9 0]; y_correct= [-34 9 7 6 0]; assert(isequal(order(y),y_correct))