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
-
Which values occur exactly three times?
5234 Solvers
-
320 Solvers
-
Number of 1s in a binary string
10961 Solvers
-
Find out missing number from a vector of 9 elements
320 Solvers
-
Returning a "greater than" vector
275 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!