Randomised Bead Machine/Pachinko Problem.

조회 수: 7 (최근 30일)
Adil Baitenov
Adil Baitenov 2018년 3월 5일
댓글: Adil Baitenov 2018년 3월 6일
Hello, I am writing code for Bead Machine problem and while there is no problem with standard model I have some issues with model in which nails are distributed randomly. While horizontal randomization can be resolved by having random chance of ball falling to the right or to the left using random number generator, vertical randomization doesn't look as obvious for me. Do you have any ideas how to implement vertical randomization?

답변 (1개)

Walter Roberson
Walter Roberson 2018년 3월 5일
The ball does not simply fall to one side or the other of the peg: the ball bounces off the peg, with the peg vibrating and acting as a bit of a spring. The curved upward bounce might intersect the bottom or side of a peg above the first, leading to a spring-pushed bounce away or down. With the vertical positions not always the same, the velocities obtained are not always going to be the same....
So you model in the acceleration and spring effects and do path planning and a bunch of testing for for intersection...
  댓글 수: 5
Walter Roberson
Walter Roberson 2018년 3월 5일
Are the scattering cylinders perfect reflectors? Such that upon scattering, each particle keeps 100% of its momentum but is scattered according to standard angle-of-reflection criteria? And there is no fluid or gravity to consider? What size are the cylinders compared to the particles? Are either one considered points for this purpose?
Adil Baitenov
Adil Baitenov 2018년 3월 6일
Yes, cylinders are perfect reflectors and there is no fluid or gravity. Cylinders are about 4 times bigger than particles.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Animation에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by