How to identify the type of the Histogram distribution?

2 ビュー (過去 30 日間)
hamed abdulaziz
hamed abdulaziz 2014 年 1 月 16 日
コメント済み: Glisant Plasa 2022 年 11 月 20 日
Hi All,
I have medical images,I've plotted it's histograms,now I need to identify the type of these histograms(e.g. One may be like Gaussian distribution, Normal distribution.etce...),is there a builtin Matlab function for * identify the type of Histogram distribution * or any code does that? my goal: I have two algorithms for image segmentation,so if the distribution was Gaussian type I will use the first algorithms else use the second algorithm,please any could guide me to do this job.thank in advance for time and support

回答 (1 件)

Wayne King
Wayne King 2014 年 1 月 16 日
You can use kstest() if you have the Statistics Toolbox:
x = 10+randn(1000,1);
test_cdf = makedist('normal','mu',10,'sigma',1);
[h,p] = kstest(x,'cdf',test_cdf);
  7 件のコメント
hamed abdulaziz
hamed abdulaziz 2014 年 1 月 16 日
Please response to me I am waiting...
Glisant Plasa
Glisant Plasa 2022 年 11 月 20 日
hope ur doing well hamed

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by