I am using matlab's randn function to generate random random numbers from a standard normal distribution. I could see this example in the help
r = 1 + 2.*randn(100,1);
It says that it draws numbers from the normal distribution with mean 1 and standard deviation 2. However, when I calculate the mean of r. It is around 0.77. So I am a bit confused. Can anyone please explain?