The rook polynomial is the most and important subject in mathematics and also combination. It can be used in chess board problems or Sudoku and also in mechanical engineering.
Pcoef is an matrix of 1*n which consists of the coefficients of the polynomial.
this program has been performed in MATLAB 2009a through MATLAB 2015a.
It is worth noting that this program is just the pre-alpha version.
for more information please see the comments in mfile.
Alireza Shourangiz Haghighi (2020). rookpoly(Pcoef) (https://www.mathworks.com/matlabcentral/fileexchange/53275-rookpoly-pcoef), MATLAB Central File Exchange. Retrieved .
Updated the file
updated the mfile
Updated the file and bug fixes