MATLAB: Using MATLAB with Chessboard arrangements problem

#nchoosekcombinatoricsMATLABprobability

I'm trying to create codes that can calculate the possibility of chessboard arrangements. The board is 8×8 colored squares. Each player has 8 pawns, 2 knight, 2 rooks, 2 bishops, 1 king and 1 queen. All pieces can be lost.
Please suggest how to write codes to calculate the number of board configurations.

Best Answer

All this nerd can say is: Good luck on your incredibly difficult project!
ps. Look at John's Variable Precision Integers on the FEX. You're going to need it.