method returns means for blocks in design Inputs D - design object Outputs bms - means over block. Returns B x N matrix where B is number of blocks, and N is number of ROIs $Id$
0001 function bms = block_means(D) 0002 % method returns means for blocks in design 0003 % 0004 % Inputs 0005 % D - design object 0006 % 0007 % Outputs 0008 % bms - means over block. Returns B x N matrix 0009 % where B is number of blocks, and N is number 0010 % of ROIs 0011 % 0012 % $Id$ 0013 0014 Y = data(D); 0015 if isempty(Y) 0016 error('Design does not yet have data'); 0017 end 0018 bms = summary_block_means(data(D)); 0019 0020