MATLAB Answers

Probability density function for a time series of pressure data

12 views (last 30 days)
Naveen K S
Naveen K S on 30 Oct 2020
Commented: Ameer Hamza on 31 Oct 2020 at 15:06
Hello Everyone,
I need to plot the probability density function for the data attached. I also attach reference pictures from a journal article. I am expecting similar results for the data attached.
Kindly help

  0 Comments

Sign in to comment.

Accepted Answer

Ameer Hamza
Ameer Hamza on 30 Oct 2020
You can use histogram() with pdf normalization. However, your data points seem to have a different distribution
data = readmatrix('data.xlsx');
histogram(data(:,2), 50, 'Normalization', 'pdf')

  2 Comments

Naveen K S
Naveen K S on 31 Oct 2020 at 5:21
Thank-you for such a quick reply. This data was collected while conducting an experiment in the windtunnel. So how will I be able to determine the type of distribution? Are there any patterns that I should be looking for?
Ameer Hamza
Ameer Hamza on 31 Oct 2020 at 15:06
Theoretically, there can be several different types of distributions that can be fitted to a given dataset. However, the actual distribution is usually a property of the process. You need to study the literature related to the wind tunnel experiment and see how the data is distributed for that process.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by