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.
Cite As
Ahmed A. Selman (2024). dec2senary(num) (https://www.mathworks.com/matlabcentral/fileexchange/48501-dec2senary-num), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- 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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |