www.pudn.com > ICA.rar > remmean.m, change:2005-03-10,size:225b


function [newVectors, meanValue] = remmean(vectors);
%REMMEAN - remove the mean from vectors


newVectors = zeros (size (vectors));
meanValue = mean (vectors')';
newVectors = vectors - meanValue * ones (1,size (vectors, 2));