dec2senary(num)

Decimal (base 10) number to senary (base 6) converion function.
95 Downloads
Updated 18 Nov 2014

View License

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
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0