luhn_code_test, a MATLAB code which calls luhn_code(), which demonstrates the calculation and use of the Luhn check digit for error detection.
The information on this web page is distributed under the MIT license.
luhn_code, a MATLAB code which computes the Luhn check digit for a string, and validates a string.