Yes, 5 is already in the output. Basically, the operation is using every element in “I” as an index indicator. For each column, every element’s will be made to zero if their index is greater than its corresponding index in “I”. So the elements in the second column of “M” become zero since the second element in “I” is 2. So 8 become 0.