<< NARVAL_F_AleaInitFin NARVAL NARVAL_F_AleaVec >>

NARVAL >> NARVAL > NARVAL_F_AleaNombre

NARVAL_F_AleaNombre

Generate a random integer value between 1 and a defined threshold.

Calling Sequence

[nb] = AleaNombre(n)

Parameters

n :

maximal value.

nb :

random integer value.

Description

NARVAL_F_AleaNombre generates a random integer value nb between 1 and n.

Examples

n=10;//limit
[nb]=NARVAL_F_AleaNombre(n);//application of AleaNombre
n
nb

Authors

Foued Melakessou

Contact

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

Home Page


<< NARVAL_F_AleaInitFin NARVAL NARVAL_F_AleaVec >>