Calculate Integer Complexity
Versión 1.0.0.0 (1,61 KB) por
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".
Citar como
steed huang (2025). Calculate Integer Complexity (https://www.mathworks.com/matlabcentral/fileexchange/49792-calculate-integer-complexity), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2014a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Numeric Types en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |