MATLAB code to read 4D rsfMRI

Submitted by FaezeVedaei on


I am just trying to write my own MATLAB code to do some part of preprocessing. I need to conver the list of 4D rsfMRI data to 3D. In fact I have 5 subject data in the list and each one has 450 timepoints rsfMRI. I want MATLAB read each 450 timepoints and average them together and give a 3D data for each subject.

Can you please help me to prepare this part? I really appreciate that.