1.在得到头动评估的数据基础上,可以汇出头动变化的折线图。
运行本程序需要下载相应的实例数据 头动是fMRI的一个重要问题,该程序画出了某个被试进行扫描时头动的具体变化情况
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | %%%% 导入数据 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' ); |
结果: