Montecarlo method for particle simulation
显示 更早的评论
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?
采纳的回答
更多回答(3 个)
Francesco
2012-2-9
0 个投票
1 个评论
Image Analyst
2012-2-9
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
2012-2-10
2 个评论
Image Analyst
2012-2-10
I don't know. It's hard for me to follow since I don't understand Italian.
Francesco
2012-2-10
类别
在 帮助中心 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!