Normalize PDF by circumference
2 ビュー (過去 30 日間)
古いコメントを表示
I am trying to plot a probability density function showing the distribution of scattered protons passing through a planar detector. I think this should look somewhat like a Gaussian distribution. My data has x-y coordinates for each time a particle passes through the plane. I've plotted a histogram showing the distance of each data point from the origin (0,0). The plot dips in the center even though this is where the beam should be strongest. I think that the probability plot needs to be normalized based on the circumference. For example, if 100 protons strike the center (0,0) of the detector and 200 protons strike 10cm from the center, the center should show a higher density because the protons at 10cm are more spread out. Is there an easy way to correct for this in Matlab?
0 件のコメント
回答 (1 件)
Image Analyst
2017 年 4 月 11 日
Sounds like the grating equation d * sin(theta) = m * lambda. https://en.wikipedia.org/wiki/Diffraction_grating#Theory_of_operation
Sounds like a slit diffraction situation so the pattern would be a sinc function rather than a Guassian.
Yes, MATLAB has a sine function built in.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Scatter Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!