view misc/FindIdx.m @ 16:4a8ec6c461a0

adding depth checking for recursive tree - feature search - though has a bug where it sometimes get stuck in an infinite loop and I dont know why
author DaveM
date Thu, 16 Feb 2017 10:07:42 +0000
parents 985cd163ba54
children
line wrap: on
line source
finalidx =[];
for i=1:length(FeatureNames)
    for j=1:length(FindFeatures)
        if(isequal(FindFeatures(j), FeatureNames(i)))
            finalidx = [finalidx i];
        end
    end
end