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
-
Determine Whether an array is empty
811 Solvers
-
511 Solvers
-
Replace multiples of 5 with NaN
468 Solvers
-
535 Solvers
-
539 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!