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

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -