method returns design matrix from design $Id$
0001 function X = design_matrix(D) 0002 % method returns design matrix from design 0003 % 0004 % $Id$ 0005 0006 SPM = des_struct(D); 0007 X = mars_struct('getifthere', SPM, 'xX', 'X');