**jordan_matrix**,
an Octave code which
returns a random matrix in Jordan canonical form.

The computer code and data files described and made available on this web page are distributed under the MIT license

**jordan_matrix** is available in
a MATLAB version and
an Octave version and
a Python version.

levenshtein_matrix, an Octave code which returns the Levenshtein distance matrix defined by two strings.

test_matrix, an Octave code which defines test matrices for which the condition number, determinant, eigenvalues, eigenvectors, inverse, null vectors, P*L*U factorization or linear system solution are known. Examples include the Fibonacci, Hilbert, Redheffer, Vandermonde, Wathen and Wilkinson matrices.

- compnz_random.m selects a random composition of integer N into K nonzero parts.
- jordan_matrix_random.m returns a random Jordan matrix.
- ksub_random.m selects a random subset of size K from a set of size N.