Backgammon #4 - Dice Probabilities
Previous problems in this series have looked at how a backgammon board might be represented, and board positions manipulated and...
3 years ago
Solved
Siren frequency and Doppler effect.
The Doppler effect is described on OpenStax University Physics at https://openstax.org/books/university-physics-volume-1/pages/1...
3 years ago
Solved
Poly2mask, drawpolygon or patch
Recently, I tried to plot a polygon in matlab, and I found there is a lot of embedded function that can be used. However, some f...
3 years ago
Solved
Easy Sequences 23: Hat Guessing Game!
Consider the following Game Show:
Hats, with numbers written on each, were placed on the heads of the participants. Participant...
3 years ago
Solved
Peg Solitaire - Apply Move
About Peg Solitaire .
Previous Problem.
Consider inital board;
If we move the peg located on (4,6) to the left (4) directio...
3 years ago
Solved
Bessel Polynomials
Return the n-th Bessel polynomial
Assume that n is a non-negative finite integer.
bessel_poly(0)
ans = 1
bessel_poly(1)
...
Find the worst traffic yesterday
A traffic monitoring system records traffic density for the highway in front of the MathWorks headquarters using a raspberry pi ...
Center of Mass(es) in 3D Space
Given a matrix of format [x1,y1,z1,m1; x2,y2,z2,m2 . . .], return the center of mass of all listed points in 3d space [xc,yc,zc]...