Research Breakthrough Possible @S-Logix pro@slogix.in

Office Address

Social List

How to set the location of the nodes in NS2?

  • Node location can be set as follows:

    set node1 [$ns node]
    $node1 set X_ 200
    $node1 set Y_ 100
    $node1 set Z_ 0