magic_matrix_test, a MATLAB code which calls magic_matrix(), which computes a magic matrix, for any odd order n, such that all rows and columns have the same sum.
The computer code and data files made available on this web page are distributed under the MIT license
magic_matrix, a MATLAB code which computes a magic matrix, for any odd order n, such that all rows and columns have the same sum.