How to make normal distribution curve from the bar chart?
4 ビュー (過去 30 日間)
古いコメントを表示
- I need to make the distribution curve as shown in the below image from the data of the bar chart.
- I have the bar chart data file. Is there any possiblity to make the ditribution curve directly.
0 件のコメント
回答 (3 件)
Rik
2023 年 5 月 9 日
Your data resolution is too low now that you have this bar chart. Unless you have the actual underlying data it is not possible to make a smooth curve.
What you can do to smooth the curve is to insert zeros between the bars and use a convolution to spread out the data.
0 件のコメント
Walter Roberson
2023 年 5 月 9 日
Your only hope of creating a distribution curve would be if you had a model for the distribution and you used the data to fit the model parameters.
0 件のコメント
Image Analyst
2023 年 5 月 9 日
That's not a single Gaussian you have there. There are at least two of them. See attached code that can fit the data (your histogram counts) to any specified number of Gaussian curves.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!