<< NARVAL_F_RandWtRepl NARVAL NARVAL_F_RandomNiNj >>

NARVAL >> NARVAL > NARVAL_F_Random

NARVAL_F_Random

Generate a random integer value bounded by a threshold.

Calling Sequence

[nb] = NARVAL_F_Random(n)

Parameters

n :

maximal value.

nb :

random integer value.

Description

NARVAL_F_Random generates the random integer value nb inferior to the specified limit n.

Examples

n=100;//maximum value
[nb]=NARVAL_F_Random(n);//application of NARVAL_F_Random
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_RandWtRepl NARVAL NARVAL_F_RandomNiNj >>