egcd.m
版本 1.1.0.0 (1.4 KB) 作者:
Steven Gregory
Extended greatest common divisor. Finds g = GCD(x(1), ..., x(end)) and v such that g == sum(v.*x).
[g v] = egcd(x) returns g = gcd(x(1), x(2), ..., x(end)) and v such that g == sum(v.*abs(x)).
引用格式
Steven Gregory (2024). egcd.m (https://www.mathworks.com/matlabcentral/fileexchange/23944-egcd-m), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2007a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Mathematics and Optimization > Mapping Toolbox > Data Import and Export >
- Radar > Mapping Toolbox > Data Import and Export >
在 Help Center 和 MATLAB Answers 中查找有关 Data Import and Export 的更多信息
标签
致谢
参考作品: nextperm, modinv(x, N), logmod
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!