partition_by_gcd - mapping 1:Ng into array. 1st element in a row is a GCD value. Followed by all n's such GCD(GCD_val,n) = GCD_val;
all_dividers - a row of all dividers (GCD's) of integer Ng > 0
Cite As
Ux Uxy (2024). get_gcd_partition(Ng) (https://www.mathworks.com/matlabcentral/fileexchange/56433-get_gcd_partition-ng), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Arithmetic Operations in Help Center and MATLAB Answers
Tags
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.0 | Have simplified input parameters requirements |