# Delay signal according to normal distribution

I am trying to delay a signal by a certain number of samples. This certain number, I would like to generate using a random normal distribution in Matlab. I am using the following for generating the number of samples r = randn(1,1)/sampleTime. This however generates negative numbers too. In order to avoid the negative numbers, I am taking the absolute value of r but I know that this is not the right way, since in this case I would be ignoring the left part of the distribution. Is there a way I can use just positive samples without shifting the mean too much?

• Why are you using a normal distribution if this is not what you actually want? Do you only want to delay the signal by integer multiples of the sampling interval? – Matt L. Jun 29 '15 at 16:07
• No matter what distribution you use, if it only consists of positive numbers then it is going to have a positive and non-zero mean. You can look at Rician, Rayleigh and Gamma distributions which can be parameterized to so that the mean is small. – David Jul 30 '15 at 12:44