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 件のコメント

Walter Roberson
Walter Roberson 2015 年 9 月 24 日
What distribution are you trying to fit?
Zenid
Zenid 2015 年 9 月 24 日
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.

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

回答 (0 件)

カテゴリ

タグ

質問済み:

2015 年 9 月 24 日

コメント済み:

2015 年 9 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by