You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
G = VECGCD(V) is the greatest common divisor of the elements of the integer
vector V. V must be a row or a column vector of integers.We define gcd([]) = 1 and gcd([0 0 ... 0]) = 0.
I believe that this routine is faster than recursively computing GCDs and the algorithm is simple enough to be used for pencil and paper calculations.
Cite As
Steven Gregory (2026). vecgcd (https://in.mathworks.com/matlabcentral/fileexchange/30216-vecgcd), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.44 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
