Base conversion of very large integers

version 1.0.0.0 (14.2 KB) by Alecsander Eitan
Base conversion of very large integers

1K Downloads

Updated 18 Aug 2006

View License

This set of functions perform base conversion of very large integers, well beyond the standard Matlab functions that are limited to 52bits. The input and output numbers are represented by strings (and not numbers) to avoid the Matlab limitations.
The main functions are: dec2hex_long, dec2oct_long, dec2bin_long, hex2dec_long, oct2dec_long and bin2dec_long

Cite As

Alecsander Eitan (2022). Base conversion of very large integers (https://www.mathworks.com/matlabcentral/fileexchange/12003-base-conversion-of-very-large-integers), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!