<< NARVAL_F_RandWtRepl NARVAL NARVAL_F_RandomVec >>

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 a random integer value nb inferior to a desired limit n.

Examples

n=100;//maximum value
[nb]=NARVAL_F_Random(n);//application of NARVAL_F_Random
nb

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_F_RandWtRepl NARVAL NARVAL_F_RandomVec >>