palate 0.3.8

File type detection combining tft and hyperpolyglot
Documentation
1
2
3
4
5
6
function [ d, d_mean, d_std ] = normalize( d )
    d_mean = mean(d);
    d = d - repmat(d_mean, size(d,1), 1);
    d_std = std(d);
    d = d./ repmat(d_std, size(d,1), 1);
end