![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/397384/image.png)
Probability density function for a time series of pressure data
17 views (last 30 days)
Show older comments
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
Accepted Answer
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')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/397384/image.png)
2 Comments
Ameer Hamza
on 31 Oct 2020
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.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!