Generate a random value in respect with a given distribution.
[n] = NARVAL_F_RandDist(i,v)
vector of values.
vector of their occurence probability.
random value.
NARVAL_F_RandDist generates a random value n in respect with a given distribution v connected to a range of values i.
Dr. Foued Melakessou
Research Associate
Interdisciplinary Centre for Security, Reliability and Trust
Room F106
University of Luxembourg
6, rue Coudenhove Kalergi
L-1359 Luxembourg-Kirchberg
E-mail: foued.melakessou@uni.lu
Tel: (+352) 46 66 44 5346