groups_euclid calls gp_euc and euclid to separate a set of harmonics into families or groups of related harmonics, each with its own fundamental tone. The euclid() function accepts two real numbers with uncertainty intervals, and returns their greatest common divisor (gcd), also a real number. The gp_euc() function accepts several real numbers with associated containing intervals, and returns their gcd. These two functions generalize the familiar euclidean algorithms for integers. For explanation and details please see the included Word document. Also note that visual_euclid(a,b) is an extra, visual version of euclid(), to demonstrate the rubber-band theorem.
Cite As
Lang Withers (2024). groups_euclid (https://www.mathworks.com/matlabcentral/fileexchange/32652-groups_euclid), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
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.