A = [1 2 3 4 5 6] ----------- B = [0 0 0 0 0 0 1 2 3 0 0 4 5 6 0 0 0 0 0 0]
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers157
Suggested Problems
-
Return the largest number that is adjacent to a zero
5526 Solvers
-
Determine Whether an array is empty
814 Solvers
-
Getting the indices from a vector
12233 Solvers
-
450 Solvers
-
215 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!