magic4_matrix_test


magic4_matrix_test, a MATLAB code which calls magic4_matrix(), which computes an nxn magic matrix, for n a multiple of 4, such that all rows and columns have the same sum, as well as the diagonal and antidiagonal.

Licensing:

The information on this web page is distributed under the MIT license.

Related Data and Programs:

magic4_matrix, a MATLAB code which computes an nxn magic matrix, for n a multiple of 4, such that all rows and columns have the same sum, as well as the diagonal and antidiagonal.

Source Code:


Last modified on 01 February 2025.