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 Solvers51
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15786 Solvers
-
289 Solvers
-
322 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
684 Solvers
-
1264 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!