<< NARVAL_G_SplitEdge NARVAL NARVAL_G_Union >>

NARVAL >> NARVAL > NARVAL_G_UCoordinates

NARVAL_G_UCoordinates

Perform the coordinates of network nodes in respect with a uniform distribution.

Calling Sequence

[x,y]=NARVAL_G_UCoordinates(n,l)

Parameters

n :

network size.

l :

network square area side.

x :

x-coordinates of network nodes.

y :

y-coordinates of network nodes.

Description

NARVAL_G_UCoordinates calculates the coordinates x and y of n network nodes inside a square of side l.

Examples

n=100;//network size
l=1000;//network square area side
[x,y]=NARVAL_G_UCoordinates(n,l);//application of NARVAL_G_UCoordinates
x
y

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_G_SplitEdge NARVAL NARVAL_G_Union >>