spm中头动绘图的理解,自带数据集

1.在得到头动评估的数据基础上,可以汇出头动变化的折线图。

 运行本程序需要下载相应的实例数据 headmove_data.txt 头动是fMRI的一个重要问题,该程序画出了某个被试进行扫描时头动的具体变化情况

%%%% 导入数据

rp_ascan001=load('headmove_data.txt');

figure

subplot(2,1,1)

plot(rp_ascan001(:,1:3))

xlabel('image');

legend({'x translation','y translation','z translation'})

ylabel('mm')

title('translation');



subplot(2,1,2)

plot(rp_ascan001(:,4:6)*180)

xlabel('image');

legend({'ptch','roll','yaw'})

ylabel('degree')

title('rotation');

  结果:

spm中头动绘图的理解,自带数据集

你可能感兴趣的:(数据)