Cody

Problem 45410. Mid-term report

Solution 2791537

Submitted on 5 Aug 2020 by Cassidy Fialkiewicz
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))

x = 5 1 3 1 2 1 3 2 1 2 x = 5 5 3 1 2 1 3 2 1 2 x = 5 5 5 1 2 1 3 2 1 2 x = 5 5 5 5 2 1 3 2 1 2 x = 5 5 5 5 5 1 3 2 1 2 x = 5 5 5 5 5 5 3 2 1 2 x = 5 5 5 5 5 5 5 2 1 2 x = 5 5 5 5 5 5 5 5 1 2 x = 5 5 5 5 5 5 5 5 5 2 x = 5 5 5 5 5 5 5 5 5 5

Suggested Problems

More from this Author9

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!