dec2senary(num)
dec2senary converts any given number from decimal (base 10) system into senary (or sexenary, that is base 6) system. This is NOT the hexadicimal numeral system which is base 16. In the senary system the maximum number is 5, and 6 is converted as 10. There are no numbers as (6 to 9) in the senary system; but the only symbols are 0-5. Negative input should be recognized by the function, but input should always be an integer. The output is always returned as a string.
Citation pour cette source
Ahmed A. Selman (2024). dec2senary(num) (https://www.mathworks.com/matlabcentral/fileexchange/48501-dec2senary-num), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Mathematics and Optimization > Symbolic Math Toolbox > Symbolic Computations in MATLAB > Units of Measurement >
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 |