e.g for input x: [ 7 3 9 5] output y: [ 7 3 3 9 9 9 5 5 5 5]
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers50
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52708 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2828 Solvers
-
389 Solvers
-
Rotate a matrix for 180 degree
187 Solvers
-
108 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!