adding a zero element in a specific location in array (between two elements)

I have two array. one is 100x1 which contain two zeros elements and a shorter arrray with 98x1 elements which does not has zeros elements
I need to insert the same zeros locations of A matrix in B matrix locations to make it 100x1.

Categories

Find more on Operators and Elementary Operations in Help Center and File Exchange

Asked:

on 27 Apr 2023

Answered:

on 27 Apr 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!