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 Solvers52
Suggested Problems
-
1548 Solvers
-
Returning a "greater than" vector
278 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
264 Solvers
-
531 Solvers
-
Pad zero between every adjacent values of the vector.
57 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!