polyomino_condense_test, a MATLAB program which calls polyomino_condense() to clean up a matrix that represents a polyomino by setting all nonzero entries to 1, and removing initial and final rows and columns of zeros.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
polyomino_condense, a MATLAB program which cleans up a matrix that represents a polyomino by setting all nonzero entries to 1, and removing initial and final rows and columns of zeros.