I would like to create an N by 1 array of doubles where N is any integer value. Each value in the array should deviate from a nominal value n using a standard deviation of n/10 and mean of 0. n can be any integer or double value.
Is there a way to do this in MATLAB using randn() with the mean and standard deviation as input parameters?
I think that this should solve your problem:
I hope this will solve your problem, you are welcome to ask for a clarification if needed.