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 Solvers51
Suggested Problems
-
Determine Whether an array is empty
817 Solvers
-
988 Solvers
-
Split a string into chunks of specified length
2153 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
737 Solvers
-
07 - Common functions and indexing 2
423 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!