x=[1 2 3 4]
y=[1 0 2 0 3 0 4 0]
Add zeros in between the data
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers50
Suggested Problems
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13963 Solvers
-
555 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
925 Solvers
-
Rounding off numbers to n decimals
5656 Solvers
-
1019 Solvers
More from this Author6
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!