matlab - Why does the randn function return a number larger than 1? -
in matlab, thought randn
returns random number belongs normal distribution mean 0 , standard deviation 0. therefore, expect number in range (0,1). number not in range (0,1).
please let me know wrong?
you thinking of uniform distribution. normal distribution can, in theory, have big numbers, very low probability. randn
has mean of 0 , standard deviation of 1. normal distribution bell-curve / gaussian shape, highest probability @ mean , probability falling off relative standard deviation.
what looking rand
- uniform random distribution gives numbers bounded between 0 , 1 probability @ points.
Comments
Post a Comment