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
-
given 3 sides, find area of this triangle
823 Solvers
-
Project Euler: Problem 10, Sum of Primes
2130 Solvers
-
Replace every 3rd element in a vector with 4
268 Solvers
-
912 Solvers
-
507 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!