<< NARVAL_F_RandomVec NARVAL NARVAL_F_Random_i_j >>

NARVAL >> NARVAL > NARVAL_F_Random_i

NARVAL_F_Random_i

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

Calling Sequence

[v2]=NARVAL_F_Random_i(v1,n)

Parameters

v1 :

vector of integers.

n :

maximum value.

v2 :

vector of integers.

Description

NARVAL_F_Random_i generates a vector of integers v2 that are different from the integers of the vector v1 (for each index). The generated values are bounded by the threshold n.

Examples

n=10;//maximum value
v1=1:10;
[v2]=NARVAL_F_Random_i(v1,n);//application of NARVAL_F_Random_i
v1
v2

Dependency

NARVAL_F_RandomVec

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_F_RandomVec NARVAL NARVAL_F_Random_i_j >>