coronal/transverse

 Hi,  
you told us how to set the "0" in the X direction before, using REST by the code:[Data Voxe Head]=rest_readfile('1mm.nii.gz');Data(1:90,:, :)=0
but how can we set "o" in the Y/Z directions?
Thanks! 

 Data(1:90,:, :)=0 is for setting voxels 1 to 90 in x dimension to zeros, Data(:, 1:90, :)=0 is for setting voxels 1 to 90 in y dimension to zeros, 
Data(:, :, 1:90)=0 is for z dimension.