view misc/reduceNoVarFeatures.m @ 12:d0bd98e7b6c9

fixing error where crash at end of file, for treeLinkFeatures
author DaveM
date Fri, 10 Feb 2017 14:32:07 +0000
parents 985cd163ba54
children
line wrap: on
line source
noVar = [];
for i = 1:size(data,1)
    if(var(data(i,:)) == 0)
        noVar = [noVar;i];
    end
end

%%
data(noVar,:) = [];
noVarfeatures = features(noVar);
features(noVar) = [];


%%