Home > marsbar > @mardo > block_means.m

block_means

PURPOSE ^

method returns means for blocks in design

SYNOPSIS ^

function bms = block_means(D)

DESCRIPTION ^

 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$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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 

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019