I have a series of image each of then of 400x400. I need to do an assignment in some specific place if a condition is False.
My condition looks like:
For[ n=1, n=10,
For[ i=1, i=400,
But every time that I try with the assignment imageseries[n][[j,i]]=5 I have the error
Set::setps: in the part assignment is not a symbol.
I have been trying with (imageseries[n][[j,i]]-imageseries[n][[j,i]]) in the FALSE statement in the If condition. It does not work.
But If I try with T=imageseries, T[[j,i]]=5 in the loop it works.
Perhaps there is someone who knows, what I should do?
Thanks in advance