To apply Gaussian in histogram?
조회 수: 1 (최근 30일)
이전 댓글 표시
Is there any function already defined in Matlab to apply gaussian to the histogram???
댓글 수: 0
채택된 답변
Junaid
2011년 12월 1일
Dear I guess you have histogram and you want to apply gaussian weight to it. If it is so then let say you have Histogram H. then you can apply with Gaussian weight like this.
H.*fspecial('gaussian', size(H),1.2)
you can tune 1.2 as you like.
댓글 수: 0
추가 답변 (1개)
Honglei Chen
2011년 12월 1일
If you want to generate random number whose histogram is Gaussian shaped, check randn. Otherwise, could you clarify what you mean by applying Gaussian to the histogram?
댓글 수: 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!