ISBN
Check Digit for International Standard Book Number
ISBN,
a MATLAB library which
can compute the check digit for an International Standard Book Number (ISBN),
or report whether a given ISBN is valid.
Licensing:
The computer code and data files made available on this
web page are distributed under
the GNU LGPL license.
Languages:
ISBN is available in
a C version and
a C++ version and
a FORTRAN90 version and
a MATLAB version and
a Python version.
Related Data and Programs:
BANK,
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.
isbn_test
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.
Source Code:
-
ch_is_digit.m,
is TRUE if a character is a decimal digit.
-
ch_is_digit_test.m
-
ch_is_isbn_digit.m,
is TRUE if a character is an ISBN digit.
-
ch_is_isbn_digit_test.m
-
ch_to_digit.m,
returns the value of a base 10 digit.
-
ch_to_digit_test.m
-
i4_to_isbn_digit.m,
converts an I4 to an ISBN digit.
-
i4_to_isbn_digit_test.m
-
i4vec_print.m,
prints an I4VEC.
-
i4vec_print_test.m
-
isbn_check_digit_calculate.m,
determines the check digit for an ISBN.
-
isbn_check_digit_calculate_test.m
-
isbn_digit_to_i4.m,
converts an ISBN character into an integer.
-
isbn_digit_to_i4_test.m
-
isbn_is_valid.m,
reports whether an ISBN is valid.
-
isbn_is_valid_test.m
-
s_to_digits.m,
extracts N digits from a string.
-
s_to_digits_test.m
-
s_to_isbn_digits.m,
extracts N ISBN digits from a string.
-
s_to_isbn_digits_test.m
-
timestamp.m,
prints the current YMDHMS date as a time stamp.
Last revised on 02 February 2019.