Smoothing a distribution curve
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jorge Fernandez
le 26 Avr 2023
Commenté : Jorge Fernandez
le 26 Avr 2023
Hello, I am currently trying to find a way to smooth my probability distribution curve but I have been unsuccesfull so far. I basically wanted to make the curve look more like a proper smooth function without so many sharp peaks and edges. How can I do this? Attached is an image of my curve. Thank you in advance for the help.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1366389/image.png)
0 commentaires
Réponse acceptée
John D'Errico
le 26 Avr 2023
The distributions you show are not at all unsmooth. And they don't look at all uncommon for problems of that kind. So I'm not sure what you would expect to see that is better.
A serious problem however, is that any simple smoothing tool will very possibly introduce distortions that are non-physical. For example, a spline could easily allow the curve to go below zero, and that would be a bad thing in this context.
I'd suggest you accept what you have as reasonable distributions.
2 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Smoothing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!