Cody

Problem 45410. Mid-term report

Solution 2278298

Submitted on 13 May 2020 by Yaroslav Br
  • Size: 11
  • This is the leading solution.
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 = [2 1 3 1 2 1 3 2 1 2]; y_correct = [5 5 5 5 5 5 5 5 5 5]; assert(isequal(your_fcn_name(x),y_correct))

ans = 5 5 5 5 5 5 5 5 5 5

Suggested Problems

More from this Author9