luhn_test, a MATLAB program which calls luhn() to demonstrate 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.
luhn, a MATLAB program which computes the Luhn check digit for a string, and can validate a string.