I want some data to fit the corresponding Gaussian distribution.
The data is meant to be Gaussian already, but for some filtering reasons, they will not perfectly ma
If you don't want to make any non-linear transformations of the distributions, all you can do is adjust the mean and standard deviation.
%# 1. adjust the mean (do this even if the offset is small)
data = data - mean(data);
%# 2. adjust the standard deviation
data = data/std(data) * expected_SD;