Greatest Common Divisor
Version 1.0.0 (1.4 KB) by
Sambit Supriya Dash
Greatest number which could divide both the entered numbers fully (evenly).
Enter any two numbers, the code will find the every factor of the two numbers and will match them for the commonness and will find the maximum of the array to be called as the greatest common divisor of the two numbers.
Cite As
Sambit Supriya Dash (2024). Greatest Common Divisor (https://www.mathworks.com/matlabcentral/fileexchange/97647-greatest-common-divisor), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |