You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Computes the Greatest Common Divisor of the values in array N using the Euclidean algorithm.
The gcd() function of Matlab is not designed for an array.
Thanks to Shashank, taken from https://www.mathworks.com/matlabcentral/newsreader/view_thread/240937
Cite As
Ambroise (2026). GCD(N) (https://au.mathworks.com/matlabcentral/fileexchange/52049-gcd-n), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (426 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | updated description |
