<< NARVAL_F_Random_i NARVAL NARVAL_F_Remov >>

NARVAL >> NARVAL > NARVAL_F_Random_i_j

NARVAL_F_Random_i_j

Generate a couple of two distinct integer values bounded by a threshold.

Calling Sequence

[i,j]=NARVAL_F_Random_i_j(n)

Parameters

n :

maximal value.

i :

random integer value.

j :

random integer value different from i.

Description

NARVAL_F_Random_i_j generates a couple of two distinct integers i and j bounded by a threshold n.

Examples

n=100;//maximum value
[i,j]=NARVAL_F_Random_i_j(n);//application of NARVAL_F_Random_i_j
i
j

Dependency

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_F_Random_i NARVAL NARVAL_F_Remov >>