Probability density from real data
25 views (last 30 days)
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
Pranav Verma on 13 Nov 2020
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!