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!