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
-
Getting the indices from a vector
11888 Solvers
-
Basics: 'Find the eigenvalues of given matrix
438 Solvers
-
536 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
261 Solvers
-
274 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!