Can I use histfit and add a specified type of Bin in it? I want to take my data and add bins with the array [0:2:100], however it won't let me. More specifically I am trying to obtain a bell curve over my histogram and don't know how to go about this

1 回表示 (過去 30 日間)
Aymon Faizi
Aymon Faizi 2020 年 2 月 11 日
編集済み: dpb 2020 年 2 月 12 日
histfit

回答 (1 件)

dpb
dpb 2020 年 2 月 11 日
What's wrong w/
histfit(randn(1000,1))
which generated
untitled.jpg
  2 件のコメント
Aymon Faizi
Aymon Faizi 2020 年 2 月 12 日
I am trying to fit an array against histfit and cannot do so
dpb
dpb 2020 年 2 月 12 日
編集済み: dpb 2020 年 2 月 12 日
Dunno what that means... histfit| does it for you.
See another thread from not too long ago to put a pdf on top empirical data if that's the question (don't get sidetracked in the sidebar discussion of what the OPs data are, just note the code)

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

カテゴリ

Help Center および File ExchangeWhos についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by