Montecarlo method for particle simulation
Ältere Kommentare anzeigen
Hi all,
I have to simulate a number of particle with a initial random velocity along z axis emitted by a point source and distributed inside a solid angle passing through a pinhole. I would like to "kill" particles that cannot pass through the pinhole becuase of the angular spread and mantain those that can pass.
Is there any example I can use to write this simulation?
Akzeptierte Antwort
Weitere Antworten (3)
Francesco
am 9 Feb. 2012
0 Stimmen
1 Kommentar
Image Analyst
am 9 Feb. 2012
You need to figure out what the distance is from the start, and where that particular particle would hit laterally the blocking screen/aperture plane, and decide if that location is within the pinhole locations or not.
Francesco
am 10 Feb. 2012
2 Kommentare
Image Analyst
am 10 Feb. 2012
I don't know. It's hard for me to follow since I don't understand Italian.
Francesco
am 10 Feb. 2012
Francesco
am 10 Feb. 2012
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!