Code covered by the BSD License

### Highlights from NUMBER SYSTEMS/ BASE CONVERTER

• NUMBER SYSTEMS BASE CONVE...Convert a number between different number systems-hex,oct,bin,dec.
• array_adder(array1,array2)This function adds 2 arrays, after making them of equal lengths by appending with reqd number of zeros.
• bin2hex(input)This function converts a single-digit binary number into corresponding hexagonal number.
• bin2oct(input)This function converts a single-digit binary number into corresponding octagonal number.
• bin_2_dec(input)This function converts an binary number into corresponding decimal number.
• bin_2_hex(input)This function converts an binary number into corresponding hexagonal number.
• bin_2_oct(input)This function converts an binary number into corresponding octagonal number.
• bincheck(input)This function keeps it same if its a valid number in this system.
• dec2bin2(input)This function converts an array in binary format to an array in decimal format.
• dec_2_bin(input)This function converts an decimal number into corresponding binary number.
• dec_2_hex(input)This function converts an decimal number into corresponding hexagonal number.
• dec_2_oct(input)This function converts an decimal number into corresponding octagonal number.
• deccheck(input)This function keeps it same if its a valid number in this system.
• div2(a)This function divides an array by 2 and calculates the remainder too.
• hex2bin(input)This function converts a single-digit hexagonal number into corresponding binary number.
• hex_2_bin(input)This function converts an decimal number into corresponding octagonal number.
• hex_2_dec(input)This function converts an hexagonal number into corresponding decimal number.
• hex_2_oct(input)This function converts an hexadecimal number into corresponding octagonal number.
• hexcheck(input)This function keeps it same if its a valid number in this system.
• num_sys(varargin)GUI for number system converter.
• oct2bin(input)This function converts a single-digit octagonal number into corresponding binary number.
• oct_2_bin(input)This function converts an octagonal number into corresponding binary number.
• oct_2_dec(input)This function converts an octagonal number into corresponding decimal number.
• oct_2_hex(input)This function converts an octagonal number into corresponding hexadecimal number.
• octcheck(input)This function keeps it same if its a valid number in this system.
• powr2(b)This function calculates the power of 2 with the input as the exponent.
• str2num(a)This function converts a string into an array.
• View all files

# NUMBER SYSTEMS/ BASE CONVERTER

### Divakar Roy (view profile)

13 Aug 2006 (Updated )

Convert a number between different number systems-hex,oct,bin,dec.

num_systems.zip
```array_adder.m
bin2hex.m
bin2oct.m
bincheck.m
bin_2_dec.m
bin_2_hex.m
bin_2_oct.m
dec2bin2.m
deccheck.m
dec_2_bin.m
dec_2_hex.m
dec_2_oct.m
div2.m
hex2bin.m
hexcheck.m
hex_2_bin.m
hex_2_dec.m
hex_2_oct.m
NUMBER SYSTEMS BASE CONVERTER.mlappinstall
num_sys.fig
num_sys.m
oct2bin.m
octcheck.m
oct_2_bin.m
oct_2_dec.m
oct_2_hex.m
powr2.m