Calculate Integer Complexity
Version 1.0.0.0 (1,61 KB) von
steed huang
This Matlab example M-file is to calculate the Integer Complexity for Number Theory.
The complexity of an integer is the least number of 1s needed to represent it using only additions, multiplications, and parentheses. This version 1 program uses the minimum amont of "+", the next release will be minimum amount of "x".
Zitieren als
steed huang (2025). Calculate Integer Complexity (https://de.mathworks.com/matlabcentral/fileexchange/49792-calculate-integer-complexity), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2014a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Numeric Types finden Sie in Help Center und MATLAB Answers
Tags
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 | |
|---|---|---|---|
| 1.0.0.0 |
