Probability density from real data

14 views (last 30 days)
Fulvio Cordella
Fulvio Cordella on 10 Nov 2020
Answered: Pranav Verma on 13 Nov 2020
I need to calculate the probability density of the amplitude of a signal during time. Because of the distribution it is not the same from signal to signal in my database, I need a function that every time aproximates to the best curve the distribution.
Thank you for the attention

Answers (1)

Pranav Verma
Pranav Verma on 13 Nov 2020
Hi Fulvio,
From your question I understand that you need some MATLAB function that fits a curve to the given points. You can make use of the regression methods or neural networks for the same. Please have a look at the Statistics and Machine Learning Toolbox and Distribution Fitter App to fit the data.
The fitdist function can help in fitting the data to the probability distributions. You can refer to the below documentation on Curve fitting and distribution fitting in MATLAB:
Hope it helps!

Community Treasure Hunt

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

Start Hunting!