Home > . > matrixOfAllResults.m

matrixOfAllResults

PURPOSE ^

mat = matrixOfAllResults(cellarray)

SYNOPSIS ^

function [mat,names] = matrixOfAllResults(cellarray)

DESCRIPTION ^

  mat = matrixOfAllResults(cellarray)
  mat = matrixOfAllResults(allresults.msf.allresults);

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [mat,names] = matrixOfAllResults(cellarray)
0002 %  mat = matrixOfAllResults(cellarray)
0003 %  mat = matrixOfAllResults(allresults.msf.allresults);
0004 
0005 mat = [];
0006 
0007 [r,c] = size(cellarray);
0008 for testtrial = 1:r
0009   onemat = [];
0010   for ps = 1:c
0011     [v,names] = getfields(cellarray{testtrial,ps}{1});
0012     onemat = [onemat; testtrial v cellarray{testtrial,ps}{2}];
0013   end
0014   mat = [mat;onemat];
0015 end
0016 names = {'TestTrial' names{:} 'Test RMSE'};
0017

Generated on Tue 07-Feb-2006 12:02:57 by m2html © 2003