function [S,a,t] = normalizeS(S)

t = mean(S,2);
S = S - t*ones(1,size(S,2));
a = mean(std(S, 1, 2));
S = S / a;

geopavlakos
github-repos/MATLAB/geopavlakos-object3d/object3d-44033b2b4fe15d41a411cba0bbff906c23e8a802/code/utils/normalizeS.m
object3d
github-repos/MATLAB/geopavlakos-object3d
44033b2b4fe15d41a411cba0bbff906c23e8a802