Graphical representation of Ping - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Graphical representation of Ping

tyler888tyler888 Posts: 2Member
Hello ,

I hope anyone can answer this question!!

I want to represent ping result of an IP address using matlab in a graphical way .i am pinging the IP: using this command : [status, result] = dos('ping', '-echo') and getting the following :

result =

Pinging with 32 bytes of data:

Reply from bytes=32 time=2ms TTL=64

Reply from bytes=32 time=4ms TTL=64

Reply from bytes=32 time=10ms TTL=64

Reply from bytes=32 time=8ms TTL=64

Ping statistics for Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Is there any way to take the time variable that is inside the result and plot a graph so the output of the graph looks close to this :


10ms| *
8ms| *
4ms| *
2ms| *
-|-----------------------> PING NUMBER
1st 2nd 3rd 4th
Sign In or Register to comment.