SyntaxFix
Write A Post
Hire A Developer
Questions
if your signal is in the matrix X, you make it zero-mean by removing the average:
X
X=X-mean(X(:));
and unit variance by dividing by the standard deviation:
X=X/std(X(:));