how to model a collision between two particles?
조회 수: 4 (최근 30일)
이전 댓글 표시
Im modelling planetary motion, i have a matrix with all the distances between each of the planets so i can see whether any distances are less than a certain value. How do I combine the two planets (ie so i have one mass instead of two etc).
댓글 수: 0
답변 (1개)
Simon
2013년 11월 7일
Hi!
If you already found a distance below some value, do you know both planets involved? If so you just add in your matrix both masses, apply the combined mass to one of the plantes and remove the other one from the matrix.
댓글 수: 4
Simon
2013년 11월 7일
Then you simply take one planet with the sum of both masses and remove the second planet. Your calculations continue with one less planet.
참고 항목
카테고리
Help Center 및 File Exchange에서 Earth and Planetary Science에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!