
Efficient convertors between binary and decimal numbers 1.0 File ID: 85168 


 Efficient convertors between binary and decimal numbers 1.0 License: Shareware File Size: 10.0 KB Downloads: 6
Submit Rating: 



Efficient convertors between binary and decimal numbers 1.0 Description 

Description: These programs were developed for fast conversions between binary and decimal integers (there are other programs by fellow Matlabusers, dealing with fractions). They can be useful when the binary numbers are in vector form instead of strings.
b2d takes a binary number in the form of an array and calculates the equivalent decimal one. Nothing fancy, but quite effective as a component of a program that needs to be efficient in terms of computational overhead.
d2b is the symmetrical program, taking a decimal number and providing the equivalent binary one, in the form of an array.
Usage: y = b2d(x), y = d2b(x) 
More Similar Code 

This function takes a range in form of "ab" and generate a list of numbers between a and b inclusive. Also accepts comma separated ranges like "ab,cd,f" will build a list which will include numbers from a to b, a to d and f Example: hyphen_range('5478') hyphen_range('5778,454,45,110') hyphen_range('94100,1052,250')
A simple file that converts an decimal number between 1 and 0.9999, for Q15 format representation, used in DSP's.
[FDOUT, FREQ_AXIS] = FDCORR(A,B,FRANGE) FDCORR Joint frequency and delay correlation Performs an efficient circular cross correlation between two vectors over all possible frequency offsets (Dopplers) between pi and pi where 2pi is the...
Converts any Q15 value (hexadecimal or binary) to decimal integer.
y = q152dec(x , form)
Input arguments of function: x  its hexadecimal or binary representation stored in a MATLAB string
form  dependent on...
The objective is to provide sample utilities and demonstrate ascii character/ symbol convert to/ from byte formats of decimal, binary and hexadecimal.
Format can also be recognized by isHexadecimal and isBinary functions. Bit shifting...
TEMPLATE_MATCHING is a CPU efficient function which calculates matching score images between template and (color) 2D image or 3D image volume.
It calculates:  The sum of squared difference (SSD Block Matching), robust template...
atoi64  String to 64bit integer number conversion (future: 128bit), handles garbage at ends, ignores _ inside like perl, handles hexadecimal, decimal, octal, binary, and SI or IEC (computer units) for a suffix multiplier. perl,js,c++,php,autoit3
DHex is a little coding tools with only one function : show a full ascii table in decimal, hexadecimal, binary and original representation.
Calctool is a desktop calculator. It has been designed to be used with either the mouse or the keyboard. It is visually similar to a lot of handheld calculators. There are financial, logical and scientific modes. Similar operations are color...
STL_Import is a tool designed to import into MATLAB both binary and ASCII STL files.
This script is mainly a collage between file exchange file id 22409 and 3642, plus some other features that can be considered new.

User Review for Efficient convertors between binary and decimal numbers 
