isbn
isbn,
a MATLAB code which
computes the check digit for an International Standard Book Number (ISBN),
or reports whether a given ISBN is valid.
Licensing:
The information on this web page is distributed under the MIT license.
Languages:
isbn is available in
a C version and
a C++ version and
a Fortran90 version and
a MATLAB version and
an Octave version and
a Python version.
Related Data and Programs:
isbn_test
bank,
a MATLAB code which
computes the check digit associated with a US Bank Routing Number
check digit, or reports whether a 9-digit code is actually valid.
luhn,
a MATLAB code which
computes the Luhn check digit for a string, or validates a string.
upc,
a MATLAB code which
determines the check digit for a Uniform Product Code (UPC) or
reports whether a given UPC is valid.
vin,
a MATLAB code which
computes the check digit for a Vehicle Identification Number (VIN),
or verifies that a given VIN is legitimate.
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
Last revised on 02 February 2019.