Sunday, March 30, 2014

[MATLAB] Zero mean, unit variance normalization of a signal

% Normalized data with mean 0 & variance 1

y = (x - mean(x)) / std(x);

1 comment:

  1. WHEN I'M USING THE ABOVE CODE ,IT SHOWS
    y = (cA3 - mean(cA3)) / std(cA3)
    Error using -
    Matrix dimensions must agree.

    ReplyDelete