<< TopologyRecDijkstraNS Network Topology Generator Unity >>

Network Topology Generator >> Network Topology Generator > UCoordinates

UCoordinates

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

Calling Sequence

[x,y]=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

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]=UCoordinates(n,l);//application of UCoordinates
x
y

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact


<< TopologyRecDijkstraNS Network Topology Generator Unity >>