I am new to MATLAB and I am trying to built a voice morphing system using MATLAB.
So I would like to know how to normalize a signal to zero mean and unit variance using MATLAB?
if your signal is in the matrix X
, you make it zero-mean by removing the average:
X=X-mean(X(:));
and unit variance by dividing by the standard deviation:
X=X/std(X(:));