MATLAB: Delete rows in 3d-matrix

3d matrixdelete rows

Hi all,
How can I delete a row in a 3d matrix? I want to delete the upper row in the matrices: stuff(:,:,1:3)
stuff(:,:,1(:,1))=[]
doesn't work..
"Unbalanced or unexpected parenthesis or bracket."
Does anyone know the answer? Thanks.
Cheers,
T

Best Answer

Thought about this last night in bed and couldn't understand the stupid mindtwist I made, it's just simply:
stuff(1,:,:)=[]
And indeed it's the upper slice. My bad. Thanks anyway!