Luhn Algorithm Functions

Luhn algoritm check and computation of missing digit.
776 Downloads
Updated 8 Mar 2007

No License

luhncheck.m will determine if the given number adheres to the Luhn algorithm.

findluhndig.m will supply a missing digit according to the Luhn algorithm.

Cite As

David Chandler (2024). Luhn Algorithm Functions (https://www.mathworks.com/matlabcentral/fileexchange/14199-luhn-algorithm-functions), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Simulink in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0