Problem 42991. Repeat the entries of the vector to their reference times in the vector.
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 commentsProblem Recent Solvers50
Suggested Problems
-
Number of 1s in a binary string
10954 Solvers
-
Test if two numbers have the same digits
262 Solvers
-
Reverse the elements of an array
1109 Solvers
-
Celsius to Fahrenheit converter
664 Solvers
-
Solving Quadratic Equations (Version 1)
503 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!