Normalize PDF by circumference
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Image Analyst
on 11 Apr 2017
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 Comments
See Also
Categories
Find more on Optics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!