To apply Gaussian in histogram?
2 ビュー (過去 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!