function y=whitenoise(x);
% Random noise with white power spectrum with mean zero 
% and unit standard deviation, equal in length to x
% Tom O'Haver, 2008
y=randn(size(x));
