convert a number to n-ary format
3 views (last 30 days)
Show older comments
Hi everyone,
How can I implement a function of converting an integer into another numeral system? For example, func(13,2) should convert 13 (in decimal) to binary number 1101.
Thanks a lot!
Niko
Answers (0)
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!