Submitted by Chen0075 on Mon, 10/07/2013 - 06:57
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!
Submitted by ZHANG_RESTadmin on Tue, 10/08/2013 - 12:52 Permalink
Re: coronal/transverse
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.