Mercurial > hg > sfx-subgrouping
changeset 20:deac21432f0f
analysing results to produce taxonomy - add taxonomy
author | DaveM |
---|---|
date | Tue, 21 Feb 2017 17:44:12 +0000 |
parents | 203626c7e0af |
children | 06adc55c0fd7 |
files | phase3/SFX-Taxonomy-Blocks.pdf phase3/taxonomyQuickLook.xlsx phase3/workspace.m |
diffstat | 3 files changed, 25 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phase3/workspace.m Tue Feb 21 17:44:12 2017 +0000 @@ -0,0 +1,25 @@ +sL = size(featureList); + +for i = 1:sL(1) + if(isempty(featureList{i,2})) + featureList{i,2} = -1; + end +end + +depthMap = cell2mat(featureList(:,2)); +%% + +for ii = 1:max(depthMap) + ii; + index = find(depthMap ==ii)'; + count = 1; + for i = index + f = featureList{i,1}; + ii + count + featsMap{ii,count} = featureNames(f); + count = count +1; + end + featsMap{ii,count} = index; +% pause +end \ No newline at end of file