Plotting PDF for Inter Packet Arrival Times

  • Thread starter Thread starter mmmd_yaseen
  • Start date Start date
  • Tags Tags
    Pdf Plotting
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
mmmd_yaseen
Messages
2
Reaction score
0
Hi Everyone,

Iam new one to join the MATLAB .My task is to plot PDF for the given data from the .dat file
I have three columns which contains as below like .The first column says port no , second and third is the inter packet arrival times of packet 1 and packet 2 . The whole data is huge ,so i have taken only few sample of it and pasted here . out this I need to plot PDF of the second and third column alone. Also see the attached plot . I need to reproduce some what similar to it. Kindly help me in how to proceed with this.

80 0.005177 0.000118
80 0.000118 0.000251
80 0.000251 0.009230
80 0.009230 0.001253
80 0.001253 0.000168
80 0.009923 0.000126
80 0.000126 0.000182
80 0.000182 0.009233
80 0.009233 0.024833
80 0.024833 0.000209
80 0.000209 0.000161
80 0.000161 0.000152
80 0.000152 0.008845
80 0.008845 0.001277
80 0.001277 0.000170
80 0.000170 0.008761
80 0.008761 0.000168
80 0.000168 0.000148
80 0.000168 0.184677
 

Attachments

  • tvport.JPG
    tvport.JPG
    14.8 KB · Views: 436
Physics news on Phys.org
What have you attempted so far?
 
Iam new to MATLAB .As of now i have just imported the data into the matlab. I just playing around with the PDF and hist command to reproduce the somewhat similar to it. But i haven't achieved it. So if you could explain the above commands with regards to the above data and graph that would be helpful and encouraging .

Thanks
 
Forget about Matlab for a minute and focus on the mathematics. Suppose that you have some data of the form

[tex] X_1, X_2, \ldots, X_n \sim F[/tex]

i.e., you have n observations that you think are distributed according to some distribution F. How do you obtain the PDF for the distribution F from the data?