luhn_test, a MATLAB code which calls luhn(), which demonstrates the calculation and use of the Luhn check digit for error detection.


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

Related Data and Programs:

luhn, a MATLAB code which computes the Luhn check digit for a string, and can validate a string.

Source Code:

Last revised on 09 February 2019.