Greatest Common Divisor (direct step backwards)
Version 3.0.0 (1,24 KB) von
Sambit Supriya Dash
Without using any arrays, the direct method of finding GCD is implemented by while loop.
Much simpler and showman's way of GCD technique is implemented through while looping by avoiding any kind of arrays, sorting or selecting.
Zitieren als
Sambit Supriya Dash (2024). Greatest Common Divisor (direct step backwards) (https://www.mathworks.com/matlabcentral/fileexchange/97667-greatest-common-divisor-direct-step-backwards), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2021a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert: Greatest Common Divisor (direct step backwards) of any 2 nos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
3.0.0 |