Howto Estimate Noise Variance in Matlab
Assuming that the deterministic function y has additive Gaussian noise, evar(y) returns an estimated variance of this noise. A thin-plate smoothing spline model is used to smooth y. It is assumed that the model whose generalized cross-validation score is minimum can provide the variance of the additive noise. A few tests showed that evar works [...]

