Bank Checksum Check Digit

**BANK**
is a MATLAB library which
can compute the check digit associated with a US Bank Routing Number
check digit, or it can report whether a 9-digit code is actually valid.

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

**BANK** is available in
a C version and
a C++ version and
a FORTRAN90 version and
a MATLAB version and
a Python version.

ISBN, a MATLAB library which can determine the check digit for an International Standard Book Number or report whether a given ISBN is valid.

LUHN, a MATLAB program which computes the Luhn check digit for a string, and can validate a string.

UPC, a MATLAB library which can determine the check digit for a Uniform Product Code (UPC) or report whether a given UPC is valid.

- bank_check_digit_calculate.m, returns the check digit of a bank checksum.
- bank_check_digit_calculate_test.m
- bank_is_valid.m, reports whether a bank checksum is valid.
- bank_is_valid_test.m
- ch_is_digit.m, is TRUE if a character is a decimal digit.
- ch_is_digit_test.m
- ch_to_digit.m, returns the value of a base 10 digit.
- ch_to_digit_test.m
- i4vec_print.m, prints an I4VEC.
- s_to_digits.m, extracts N digits from a string.
- s_to_digits_test.m
- timestamp.m, prints the current YMDHMS date as a time stamp.

- bank_test.m, a sample calling program.
- bank_test_output.txt, the output file.

You can go up one level to the MATLAB source codes.