File Exchange

image thumbnail


novel coding roughly rook polynomial in complement board


Updated 26 May 2016

View License

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.

Cite As

Alireza Shourangiz Haghighi (2020). rookpoly(Pcoef) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)


I'm sure the mfile is optimized enough.

this is an interesting subject. Could you define a function when the coefficient of the matrix and complement matrix are equal to determine the n which is an even number.


Updated the file

updated the mfile

Updated the file and bug fixes

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux