Calculate Integer Complexity
Version 1.0.0.0 (1,61 ko) par
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".
Citation pour cette source
steed huang (2024). Calculate Integer Complexity (https://www.mathworks.com/matlabcentral/fileexchange/49792-calculate-integer-complexity), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2014a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Numeric Types dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |