My original array was A=[1 5 3 7 8 2]. I deleted some elements and the array became A=[1 3 7 8]. The elements I deleted are stored in the array DEL=[5 2] and the indexes they were deleted from are stored in the array INDX=[2 6].
How do I Insert the deleted elements back into array 'A' in their original indexes?
Best Answer