<< MobilityNodeRWPoint Network Topology Generator MobilityXYExtraction >>

Network Topology Generator >> Network Topology Generator > MobilityRandom_i_j_nf

MobilityRandom_i_j_nf

Generate two distinct random integer values between (nf+1) and (nf+n).

Calling Sequence

[ndep,nfin]=MobilityRandom_i_j_nf(n,nf)

Parameters

n :

quantity of moving nodes.

nf :

quantity of fixed nodes.

ndep :

emission node.

nfin :

destination node.

Description

MobilityRandom_i_j_nf generates two distinct random integer values between (nf+1) and (nf+n). These values are used to define a connection between two mobile nodes.

Examples

n=50;//quantity of moving nodes
nf=5;//quantity of fixed nodes
[ndep,nfin]=MobilityRandom_i_j_nf(n,nf);//application of MobilityRandom_i_j_nf
ndep
nfin

Dependency

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact


<< MobilityNodeRWPoint Network Topology Generator MobilityXYExtraction >>