I have a 2 dimensional array arr and at various places i want to replace the ii-th row.
So I would like to write a function
function arr = replace(arr, ii)
and call that, e.g. in a loop but also with fixed ii.
My problem is that i fear that all of arr is copied then.
I just want a passed by reference and replace the row.
Is this feasable??