Problem 45486. Check Digit - 01
The International Standard Book Number (ISBN) is a numeric commercial book identifier that is intended to be unique.
It used to be to 10-digit long. Recently it is changed to 13-digit.
For example, a= '0-306-40615-2' is in ISBN-10 format.
ISBN-10 check digit (which is the last digit of the 10-digit ISBN) must range from 0 to 10 (the symbol 'X' is used for 10) and must be such that the sum of the ten digits, each multiplied by its (integer) weight, descending from 10 to 1, is a multiple of 11.
ISBN-13 uses a different approach to calculate the check digit.
For this problem, u've to calculate the check digit for ISBN-10.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers22
Suggested Problems
-
Remove any row in which a NaN appears
8477 Solvers
-
1878 Solvers
-
Back to basics 23 - Triangular matrix
966 Solvers
-
Return the first and last characters of a character array
9142 Solvers
-
Add a row of zeros on top of a matrix
245 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!