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 a vector is monotonically increasing
22875 Solvers
-
Find the longest sequence of 1's in a binary sequence.
6687 Solvers
-
1486 Solvers
-
562 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2142 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!