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 representation of input argument (hexadecimal or binary) take 'hex' or 'bin'
Valu of function:
y - decimal integer
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...
Safely convert any given string type (text or binary) to unicode. You won't get UnicodeDecodeError error, at the cost of ignoring those errors during conversion, which is useful for debugging and logging. This recipe requires the six package.
This module can be used to split any file, text or binary
to equal sized chunks. It can also combine the chunks back
to recreate the original file.
Ascii85 is a rubygem that provides methods to encode/decode Adobe's binary-to-text encoding of the same name.
Converts binary data of any format in a string to floating point decimal of a defined fraction size.
The "intsize" input parameter defines the size of the exponent and sets the fixed point location in the binary number. se...
y = dec2q15( x , form )
Function that works with any decimal value (beacuse of saturation using). Available representation of Q15 format are binary or hexadecimal.
Input arguments of function:
x - decimal integer
libgnupg-ruby is a "wrapper" library for the gpg binary. The library can pe pointed at any installed gpg-compatible binary to let you integrate encryption/decryption, signing, key and keyring management into your application seamlessly.
PSUDF is a multi-platform library of UDF's for Firebird.If contains functions to convert from binary to hex and vice-versa, for both regular (varchar, octets) and blob fields.
Binary vector To Decimal vector
Decimal vector To Binary vector
Helpful mfile (exemples:how to use m functions).
A cross platform binary (database) to xml conversion tool written in java language. Uses the well accepted XML structured template files for the conversion definitions. Easy-to-use features supported with java GUI for advanced users as well as...
Reformats binary (black and white) images as true color RGB images so that originally black and white images can be recolored. Applications include object identification, labeling, emphasis coloration, and edge detection.
bin2header takes any file as an argument and converts its binary data into a source header file for use in C/C++ applications. The data is stored as a character array.
This application example implements an end-to-end baseband communications system compliant to the US MIL_STD_188_110B intended for long-haul and tactical communications.
This model supports four different data rates: 1200bps, 600bps,...
AddUp 2 could be the last calculator you will ever want. With a flexible work area and user-selectable button panels, this multipurpose tool packs all the functionality you can expect in a calculator.A flexible work area lets you type in your...
Algebrus is a powerful software for scientific and general purpose calculations. It provides user with numerous mathematical and analysis functions, and allows unlimited extension of its functionality by means of user-defined types, operators,...
INI-File Manager library allows you manipulate with an INI-file and its elements by the easiest way from any programming language.
The library is supplied in ActiveX and DLL editions.
S=wiki(str) returns the Wikipedia article for string 'str'
S=wiki returns a random Wikipedia article
For most articles the parsing is done almost correctly, however there may be minor parsing errors that may occur in the...
A hundred command line tools in one executable. Find and extract text in binary files, list dir tree sizes, filter and replace text, run an instant ftp server, http server for easy file transfer, find duplicate files, join many text files into...
This is a very simple look-up based method for converting integer to binary string. In my tests, using 'timeit', its the fastest around. And with increasing value of input decimal number, it surpases any 'run time computation' based method doing...