GCD(N)

版本 1.0.0.0 (426 字节) 作者: Ambroise
Greatest Common Divisor of the values in array N
84.0 次下载
更新时间 2015/7/9

查看许可证

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

引用格式

Ambroise (2025). GCD(N) (https://ww2.mathworks.cn/matlabcentral/fileexchange/52049-gcd-n), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Arithmetic Operations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

updated description