view misc/FindIdx.m @ 17:c674bf769d82

fix infinite loop bug in tree feature identification
author DaveM
date Thu, 16 Feb 2017 10:23:46 +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