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 MIT license
luhn, a MATLAB code which computes the Luhn check digit for a string, and can validate a string.