president_matrix_test


president_matrix_test, a MATLAB code which calls president_matrix(), which defines a sort of graph "adjacency" matrix for US presidents. Presidents I and J are "adjacent" if there was any year in which they were both alive, that is, if their lifespans overlap.

Licensing:

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

Related Data and Programs:

president_matrix a MATLAB code which defines a sort of graph "adjacency" matrix for US presidents. Presidents I and J are "adjacent" if there was any year in which they were both alive, that is, if their lifespans overlap.

Source Code:


Last modified on 05 May 2026.