Code covered by the BSD License
-
add_leading_zeros(str_in,N);
add_leading_zeros Adds N leading zeros to string str_in.
-
base_convert_vector_format (d...
base_convert_vector_format Converts base of large integers.
-
bin2dec_long(str_in,N)
bin2dec_long Convert long binary strings to decimal string.
-
check_string_binary(str_in)
check_string_binary Checks that input string is a valid binary number.
-
check_string_decimal(str_in)
check_string_decimal Checks that input string is a valid decimal number.
-
check_string_hexadecimal(str_...
check_string_hexadecimal Checks that input string is a valid hexadecimal number.
-
check_string_octal(str_in)
check_string_octal Checks that input string is a valid octal number.
-
compact_string(str_in)
compact_string Removes spaces and commas from a string.
-
dec2bin_long(str_in,N)
dec2bin_long Convert long decimal strings to binary string.
-
dec2hex_long(str_in,N)
dec2hex_long Convert long decimal strings to hexadecimal string.
-
dec2oct_long(str_in,N)
dec2oct_long Convert long decimal strings to octal string.
-
hex2dec_long(str_in,N)
hex2dec_long Convert long hexadecimal strings to decimal string.
-
is_zero(data)
is_zero Checks if a vector has only zero cells.
-
longStr2binVector(str_in,dig_...
longStr2binVector Converts input string to values using dig_in sets.
-
longStr2decVector(str_in,dig_...
longStr2decVector Converts input string to values using dig_in sets.
-
longStr2hexVector(str_in,dig_...
longStr2hexVector Converts input string to values using dig_in sets.
-
longStr2octVector(str_in,dig_...
longStr2octVector Converts input string to values using dig_in sets.
-
long_div(num,denom,base)
long_div Performs a long division of integers.
-
oct2dec_long(str_in,N)
oct2dec_long Convert long octal strings to decimal string.
-
pack_str_fragments(str_in)
pack_str_fragments Packs strings to one line.
-
remove_leading_zeros(str_in)
remove_leading_zeros Removes leading zeros from a string.
-
View all files
|
|
| File Information |
| Description |
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 |
| MATLAB release |
MATLAB 7.1.0 (R14SP3)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com