zl程序教程

您现在的位置是:首页 >  大数据

当前栏目

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

数据 理解 绘图 自带
2023-09-11 14:21:33 时间

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');

  结果: