How to perform Distribution type detection using histogram automatically?
조회 수: 1 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153302/image.jpeg)
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153303/image.jpeg)
>>
Hi everyone,
I have histogram which either contain impulse or gaussian distribution as shown in the image. Is there any way so that we can automatically detect distribution using histogram? I need automatic way.
댓글 수: 0
답변 (1개)
Image Analyst
2013년 11월 27일
Looks like both images you posted have both pulses and non-pulse data. What sort of classification would you like for each? To detect pulses you can run the histogram through a median filter and subtract it from the original. Then you can threshold it to find pulses taller than a certain height from their neighbors:
diffSignal = histCounts - medfilt1(histCounts);
pulseLocations = diffSignal > 100; % Or whatever number you want.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!