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개)

카테고리

도움말 센터File Exchange에서 Histograms에 대해 자세히 알아보기

태그

질문:

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