Fitting a line to a histogram

Hello! I'm trying to fit a smooth line to a histogram and only display that line instead of the bars. I tried it with the kernel density function fit, but it's somewhat too smooth. Is there a less smooth alternative? Thanks!

2 comentarios

Walter Roberson
Walter Roberson el 24 de Sept. de 2015
What distribution are you trying to fit?
Zenid
Zenid el 24 de Sept. de 2015
I have data from different time points and plotted them in 10min long bins. I'm trying to fit a line to the resulting histogram. The measurement timepoints are random.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Preguntada:

el 24 de Sept. de 2015

Comentada:

el 24 de Sept. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by