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 the peak 3n+1 sequence value
2568 Solvers
-
Find the sum of the elements in the "second" diagonal
1204 Solvers
-
Sum the numbers on the main diagonal
613 Solvers
-
construct matrix with identical rows
209 Solvers
-
229 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!