views:

289

answers:

1

Is there an existing tool to filter an NS2 tracefile according to nodes' locations? I.e. only show events for nodes between x1,y1 and x2,y2.

A: 

hi, I want to know how i can able to plot recevied paket ratio and loss ratio as a function of nodes speed in ns. please help me. THANKS FOR YOUR GIUDANCE.

You should probably post this as it's own question if you hope to have it answered. I don't know of any preexisting solution to what you want. You could do one of two things: modify the source code to change the format of traces to include node speed, or you could use an external tool to analyze the mobility trace to tell you the node's speed when each packet is sent. To achieve the latter, I'll post the source code for my solution to my problem when I'm done, which should help you with a little modification.
Junier