Dear users Can anyone guide me on how to insert zero after every fourth element in an array. I have a matrix of (15x1)...final matrix should be of dimension (20x1) with 4th,8th,16th,and 20th element as zero. Thank you.
Show older comments
Dear users
Can anyone guide me on how to insert zero after every fourth element in an array. I have a matrix of (15x1)...final matrix should be of dimension (20x1) with 4th,8th,16th,and 20th element as zero. Thank you.
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!