Plotting PDF for Inter Packet Arrival Times

  • Thread starter Thread starter mmmd_yaseen
  • Start date Start date
  • Tags Tags
    Pdf Plotting
Click For Summary

Discussion Overview

The discussion revolves around plotting the probability density function (PDF) for inter packet arrival times using MATLAB. Participants are exploring methods to visualize data extracted from a .dat file, specifically focusing on two columns representing arrival times.

Discussion Character

  • Homework-related
  • Technical explanation
  • Exploratory

Main Points Raised

  • One participant seeks assistance in plotting the PDF for inter packet arrival times from a dataset, mentioning the structure of the data and providing sample values.
  • Another participant inquires about the steps the original poster has taken so far in their MATLAB exploration.
  • The original poster indicates they have imported the data and experimented with the PDF and hist commands but have not achieved the desired results.
  • A later reply shifts focus from MATLAB to the underlying mathematics, asking how to derive the PDF from a set of observations believed to follow a certain distribution.

Areas of Agreement / Disagreement

Participants do not appear to reach a consensus, as the discussion includes both practical MATLAB usage and theoretical mathematical considerations, with no clear resolution on the best approach to plotting the PDF.

Contextual Notes

The discussion lacks detailed explanations of the mathematical principles behind PDF estimation and the specific commands in MATLAB, which may affect the clarity of the responses.

Who May Find This Useful

Individuals interested in data visualization, MATLAB programming, and statistical analysis of inter packet arrival times may find this discussion relevant.

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: 423
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?