# Probability density from real data

23 ビュー (過去 30 日間)
Fulvio Cordella 2020 年 11 月 10 日

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

サインインしてコメントする。

### 回答 (1 件)

Pranav Verma 2020 年 11 月 13 日
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!

Translated by