Hi,
It would help give an appropriate solution if you put your question clearly.
As per my understanding prior(:,:,N) = zeros(1,3) defines and initializes sheets of the 3D array with zeros. I do not understand what do you mean by 'Inc'.
For more information on 3D arrays, you may refer to this link:
Hope this helps!